Skip to content

Commit

Permalink
cmd: tx spend accepts ttl, nonce TODO: ACTUALLY IMPLEMENT IT
Browse files Browse the repository at this point in the history
  • Loading branch information
randomshinichi committed Feb 28, 2019
1 parent a340ec1 commit 109f432
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ var (
accountFileName string
password string
fee uint64
ttl uint64
nonce uint64
)

// accountCmd implements the account command
Expand Down
2 changes: 2 additions & 0 deletions cmd/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,6 @@ func init() {

// tx spend command
txSpendCmd.Flags().Uint64Var(&fee, "fee", aeternity.Config.Client.Fee, fmt.Sprintf("Set the transaction fee (default=%d)", aeternity.Config.Client.Fee))
txSpendCmd.Flags().Uint64Var(&ttl, "ttl", aeternity.Config.Client.TTL, fmt.Sprintf("Set the TTL in keyblocks (default=%d)", aeternity.Config.Client.TTL))
txSpendCmd.Flags().Uint64Var(&nonce, "nonce", 0, fmt.Sprint("Set the transaction nonce, if not it will be automatically generated"))
}

0 comments on commit 109f432

Please sign in to comment.