Skip to content

Commit

Permalink
fix go vet problem in tendermint_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo-Huang committed Nov 22, 2018
1 parent 46f4cdf commit 5507e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/consensus/tendermint/tendermint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func prepareTxList() *types.Transaction {
key = generateKey(i, 32)
value = generateValue(i, 180)

nput := &pty.NormAction_Nput{&pty.NormPut{Key: key, Value: []byte(value)}}
nput := &pty.NormAction_Nput{Nput:&pty.NormPut{Key: key, Value: []byte(value)}}
action := &pty.NormAction{Value: nput, Ty: pty.NormActionPut}
tx := &types.Transaction{Execer: []byte("norm"), Payload: types.Encode(action), Fee: fee}
tx.To = address.ExecAddress("norm")
Expand Down

0 comments on commit 5507e20

Please sign in to comment.