Counter uses dispatcher to deduct fees from account

This commit is contained in:
Ethan Frey
2017-07-04 14:47:46 +02:00
parent 8003034bbb
commit 670e7b48d1
9 changed files with 92 additions and 29 deletions
@@ -74,6 +74,6 @@ func readCounterTxFlags() (tx basecoin.Tx, err error) {
return tx, err
}
tx = counter.NewCounterTx(viper.GetBool(FlagValid), feeCoins)
tx = counter.NewCounterTx(viper.GetBool(FlagValid), feeCoins, viper.GetInt(FlagSequence))
return tx, nil
}