mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-23 01:41:31 +00:00
int/nonce fixes
This commit is contained in:
@ -237,7 +237,7 @@ func testNameReg(t *testing.T, typ string) {
|
||||
// try to update as non owner, should fail
|
||||
nonce := getNonce(t, typ, user[1].Address)
|
||||
data2 := "this is not my beautiful house"
|
||||
tx = types.NewNameTxWithNonce(user[1].PubKey, name, data2, amt, fee, nonce)
|
||||
tx = types.NewNameTxWithNonce(user[1].PubKey, name, data2, amt, fee, nonce+1)
|
||||
tx.Sign(user[1])
|
||||
_, err := client.BroadcastTx(tx)
|
||||
if err == nil {
|
||||
|
Reference in New Issue
Block a user