working nonce module
This commit is contained in:
committed by
Ethan Frey
parent
e40e331f87
commit
50e4d31149
@@ -17,6 +17,7 @@ import (
|
||||
"github.com/tendermint/basecoin/modules/base"
|
||||
"github.com/tendermint/basecoin/modules/coin"
|
||||
"github.com/tendermint/basecoin/modules/fee"
|
||||
"github.com/tendermint/basecoin/modules/nonce"
|
||||
)
|
||||
|
||||
//-------------------------
|
||||
@@ -74,6 +75,9 @@ func doSendTx(cmd *cobra.Command, args []string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// XXX - what is the nonceAccount here!!!
|
||||
tx = nonce.NewTx(tx, viper.GetInt(FlagSequence), nonceAccount)
|
||||
|
||||
// Note: this is single sig (no multi sig yet)
|
||||
stx := auth.NewSig(tx)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user