-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix queryDelegatorTotalRewards (#4078)
Return [] instead of null by making the initial value an empty slice literal opposed to nil. Closes: #3705
- Loading branch information
1 parent
b50b25d
commit 94b7d8f
Showing
4 changed files
with
27 additions
and
9 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
.pending/bugfixes/sdk/3705-Return-instead-of-null-when-querying-delegator-rewards
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#3705 Return `[]` instead of `null` when querying delegator rewards. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters