OSDN Git Service

refactor spend_account_unspent_output struct for add contract arguments (#1089)
authoroysheng <33340252+oysheng@users.noreply.github.com>
Mon, 25 Jun 2018 12:05:05 +0000 (20:05 +0800)
committerPaladz <yzhu101@uottawa.ca>
Mon, 25 Jun 2018 12:05:05 +0000 (20:05 +0800)
commit0cdd73a83566cf28fe0c6a28e359aef3e66c4dc0
tree095b40e614fb4625901c97a34f25e26652aff3a3
parent60ef4ea9967b9a6cdd67d9a824638b66bca6c165
refactor spend_account_unspent_output struct for add contract arguments (#1089)

* refactor spend_account_unspent_output struct for add contract arguments
add the contract template LockWithPublicKey for build-transaction

* optimise arguments
add unit test

* optimise unit test

* optimise struct
account/builder.go
account/builder_test.go
cmd/bytomcli/commands/template.go [new file with mode: 0644]
cmd/bytomcli/commands/transaction.go