Skip to content

Commit

Permalink
Merge branch 'main' into dong/TestGovCloseChannel
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Bowman authored Oct 23, 2023
2 parents ba358fa + 8198456 commit 938c062
Show file tree
Hide file tree
Showing 2 changed files with 198 additions and 1 deletion.
197 changes: 197 additions & 0 deletions x/interchainstaking/keeper/callbacks_test.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion x/interchainstaking/types/accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (a *ICAAccount) IncrementBalanceWaitgroup() {
}

func (a *ICAAccount) DecrementBalanceWaitgroup() error {
if a.BalanceWaitgroup <= 0 {
if a.BalanceWaitgroup == 0 {
return errors.New("unable to decrement the balance waitgroup below 0")
}
a.BalanceWaitgroup--
Expand Down

0 comments on commit 938c062

Please sign in to comment.