core/types: add rlp tag "nil" for Transaction.Recipient

This commit is contained in:
Felix Lange 2015-04-17 01:29:11 +02:00
parent cad64fb911
commit 574d5d6ae6

View File

@ -22,7 +22,7 @@ type Transaction struct {
AccountNonce uint64 AccountNonce uint64
Price *big.Int Price *big.Int
GasLimit *big.Int GasLimit *big.Int
Recipient *common.Address // nil means contract creation Recipient *common.Address `rlp:"nil"` // nil means contract creation
Amount *big.Int Amount *big.Int
Payload []byte Payload []byte
V byte V byte