diff options
author | zelig <viktor.tron@gmail.com> | 2014-04-16 20:36:52 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-04-16 20:36:52 +0800 |
commit | 7f0c974008b62115c5c2685dee909b379ca1c6fc (patch) | |
tree | a093ee0a32798317667b7fdbb3be34b4de231496 | |
parent | c23a971a1f98cb6f45079846d8ff5efc4f488244 (diff) | |
download | dexon-7f0c974008b62115c5c2685dee909b379ca1c6fc.tar dexon-7f0c974008b62115c5c2685dee909b379ca1c6fc.tar.gz dexon-7f0c974008b62115c5c2685dee909b379ca1c6fc.tar.bz2 dexon-7f0c974008b62115c5c2685dee909b379ca1c6fc.tar.lz dexon-7f0c974008b62115c5c2685dee909b379ca1c6fc.tar.xz dexon-7f0c974008b62115c5c2685dee909b379ca1c6fc.tar.zst dexon-7f0c974008b62115c5c2685dee909b379ca1c6fc.zip |
empty string -> empty byte array
-rw-r--r-- | ethereum/dev_console.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereum/dev_console.go b/ethereum/dev_console.go index 421c3fa60..577b039ad 100644 --- a/ethereum/dev_console.go +++ b/ethereum/dev_console.go @@ -171,7 +171,7 @@ func (i *Console) ParseInput(input string) bool { if err != nil { fmt.Println("recipient err:", err) } 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] tx.Sign(key.PrivateKey) |