aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authornkbai <nkbai@163.com>2017-08-24 18:48:13 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-08-24 18:48:13 +0800
commit68955ed2eb12165416411dc30b1ac4d74aa49307 (patch)
tree782fe2e021721ae4bb7172f9a8c4d1479c6d06c6 /core
parentff9a8682323648266d5c73f4f4bce545d91edccb (diff)
downloaddexon-68955ed2eb12165416411dc30b1ac4d74aa49307.tar
dexon-68955ed2eb12165416411dc30b1ac4d74aa49307.tar.gz
dexon-68955ed2eb12165416411dc30b1ac4d74aa49307.tar.bz2
dexon-68955ed2eb12165416411dc30b1ac4d74aa49307.tar.lz
dexon-68955ed2eb12165416411dc30b1ac4d74aa49307.tar.xz
dexon-68955ed2eb12165416411dc30b1ac4d74aa49307.tar.zst
dexon-68955ed2eb12165416411dc30b1ac4d74aa49307.zip
core/types: fix create indicator in Transaction.String (#15025)
Diffstat (limited to 'core')
-rw-r--r--core/types/transaction.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/types/transaction.go b/core/types/transaction.go
index 8e108b2a3..947fc85d6 100644
--- a/core/types/transaction.go
+++ b/core/types/transaction.go
@@ -300,7 +300,7 @@ func (tx *Transaction) String() string {
Hex: %x
`,
tx.Hash(),
- len(tx.data.Recipient) == 0,
+ tx.data.Recipient == nil,
from,
to,
tx.data.AccountNonce,