Skip to content

Commit f09f94b

Browse files
committed
x
1 parent 1834aa8 commit f09f94b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action/protocol/staking/protocol.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@ func (p *Protocol) saveStakingAddressHistory(height uint64, sm protocol.StateMan
275275
return nil
276276
}
277277

278-
//hei := byteutil.Uint64ToBytesBigEndian(height - 1)
279-
hei := byteutil.Uint64ToBytesBigEndian(height)
278+
hei := byteutil.Uint64ToBytesBigEndian(height - 1)
279+
//hei := byteutil.Uint64ToBytesBigEndian(height)
280280
historyKey := append(bucketPoolAddrKey, hei...)
281281
fmt.Println("saveStakingAddressHistory2", height, []byte(StakingNameSpaceForStakingAddress), hex.EncodeToString(historyKey), balance.amount)
282282

0 commit comments

Comments
 (0)