mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 01:41:36 +00:00
empty string -> empty byte array
This commit is contained in:
parent
c23a971a1f
commit
7f0c974008
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ func (i *Console) ParseInput(input string) bool {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("recipient err:", err)
|
fmt.Println("recipient err:", err)
|
||||||
} else {
|
} else {
|
||||||
tx := ethchain.NewTransactionMessage(recipient, ethutil.Big(tokens[2]), ethutil.Big(tokens[3]), ethutil.Big(tokens[4]), []string{""})
|
tx := ethchain.NewTransactionMessage(recipient, ethutil.Big(tokens[2]), ethutil.Big(tokens[3]), ethutil.Big(tokens[4]), []byte{})
|
||||||
|
|
||||||
key := ethutil.Config.Db.GetKeys()[0]
|
key := ethutil.Config.Db.GetKeys()[0]
|
||||||
tx.Sign(key.PrivateKey)
|
tx.Sign(key.PrivateKey)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue