nonce testing

This commit is contained in:
rigel rozanski
2017-07-18 12:08:28 +02:00
committed by Ethan Frey
parent 16b039534d
commit 6e07dbe7c3
5 changed files with 78 additions and 26 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ func doSendTx(cmd *cobra.Command, args []string) error {
if seq < 0 {
return fmt.Errorf("sequence must be greater than 0")
}
tx = nonce.NewTx(tx, uint32(seq), nonceAccount) // XXX - what is the nonceAccount here!!!
tx = nonce.NewTx(uint32(seq), nonceAccount, tx)
// Note: this is single sig (no multi sig yet)
stx := auth.NewSig(tx)