aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-04-17 07:29:11 +0800
committerFelix Lange <fjl@twurst.com>2015-04-17 20:45:10 +0800
commit574d5d6ae6076c534d314c600ee0e6c0c161cc36 (patch)
tree8740411af896d59b1a8c3906b3b0e14bfaed1fc8 /core
parentcad64fb911e7029bef876f16e0956b3b0b4bb4d0 (diff)
downloaddexon-574d5d6ae6076c534d314c600ee0e6c0c161cc36.tar
dexon-574d5d6ae6076c534d314c600ee0e6c0c161cc36.tar.gz
dexon-574d5d6ae6076c534d314c600ee0e6c0c161cc36.tar.bz2
dexon-574d5d6ae6076c534d314c600ee0e6c0c161cc36.tar.lz
dexon-574d5d6ae6076c534d314c600ee0e6c0c161cc36.tar.xz
dexon-574d5d6ae6076c534d314c600ee0e6c0c161cc36.tar.zst
dexon-574d5d6ae6076c534d314c600ee0e6c0c161cc36.zip
core/types: add rlp tag "nil" for Transaction.Recipient
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 6646bdf29..d8dcd7424 100644
--- a/core/types/transaction.go
+++ b/core/types/transaction.go
@@ -22,7 +22,7 @@ type Transaction struct {
AccountNonce uint64
Price *big.Int
GasLimit *big.Int
- Recipient *common.Address // nil means contract creation
+ Recipient *common.Address `rlp:"nil"` // nil means contract creation
Amount *big.Int
Payload []byte
V byte