diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-19 18:51:38 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-19 18:51:38 +0800 |
commit | 0057bb4ef6d55b5d580a4e0421526a477ef93de9 (patch) | |
tree | c42682f9399bc59d9a1623a4b159231e434fa8d5 /xeth | |
parent | 03b8c6841be08f19db0f98cea6d0a6f4fd64736f (diff) | |
download | dexon-0057bb4ef6d55b5d580a4e0421526a477ef93de9.tar.gz dexon-0057bb4ef6d55b5d580a4e0421526a477ef93de9.tar.zst dexon-0057bb4ef6d55b5d580a4e0421526a477ef93de9.zip |
WIP QT Clipboard
Diffstat (limited to 'xeth')
-rw-r--r-- | xeth/types.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/types.go b/xeth/types.go index a903fccbb..5b2d16018 100644 --- a/xeth/types.go +++ b/xeth/types.go @@ -150,7 +150,7 @@ type Transaction struct { func NewTx(tx *types.Transaction) *Transaction { hash := toHex(tx.Hash()) receiver := toHex(tx.To()) - if receiver == "0000000000000000000000000000000000000000" { + if len(receiver) == 0 { receiver = toHex(core.AddressFromMessage(tx)) } sender := toHex(tx.From()) |