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

pull/711/head
Felix Lange 10 years ago
parent cad64fb911
commit 574d5d6ae6
  1. 2
      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

Loading…
Cancel
Save