Skip to content

Commit

Permalink
add temp delay to wait before resetting seq number
Browse files Browse the repository at this point in the history
  • Loading branch information
avendauz committed Aug 9, 2021
1 parent b77ad3e commit 3935698
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/curium/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ func updateAccountState(accnt exported.Account, state AccountState) (AccountStat
}

func resetAccountState(accnt exported.Account, state AccountState) (AccountState, error) {
time.Sleep(6 * time.Second)
state.accntNum = accnt.GetAccountNumber()
state.seqNum = accnt.GetSequence()
state.requested = true
Expand Down

0 comments on commit 3935698

Please sign in to comment.