Skip to content

Commit

Permalink
fix overstak test
Browse files Browse the repository at this point in the history
  • Loading branch information
cryi committed Jun 26, 2024
1 parent f038b6d commit 1eb0e35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/delegation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ func TestOverstake(t *testing.T) {
assert.Equal(int64(750000), s.overstakeFactor().Int64())
assert.Equal(int64(750), s.GetDelegatorAndBakerBalances()[delegator].OverstakedBalance)
assert.Equal(int64(750), s.GetDelegatorAndBakerBalances()[delegator2].OverstakedBalance)
assert.Equal(int64(1000000000+750), s.GetDelegatorAndBakerBalances()[delegator].DelegatedBalance)
assert.Equal(int64(1000000000+750), s.GetDelegatorAndBakerBalances()[delegator2].DelegatedBalance)
assert.Equal(int64(1000000000), s.GetDelegatorAndBakerBalances()[delegator].DelegatedBalance)
assert.Equal(int64(1000000000), s.GetDelegatorAndBakerBalances()[delegator2].DelegatedBalance)
assert.Equal(int64(1000), s.GetDelegatorAndBakerBalances()[delegator].StakedBalance)
assert.Equal(int64(1000), s.GetDelegatorAndBakerBalances()[delegator2].StakedBalance)
}

0 comments on commit 1eb0e35

Please sign in to comment.