From e8f86b0dc11a4988a7781837fccbb4826a93fa57 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 28 Nov 2016 21:55:39 +0100 Subject: [PATCH] Update transaction.go --- core/types/transaction.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/types/transaction.go b/core/types/transaction.go index 6447e477d4..e60743a2da 100644 --- a/core/types/transaction.go +++ b/core/types/transaction.go @@ -233,8 +233,8 @@ func (tx *Transaction) Value() *big.Int { return new(big.Int).Set(tx.data.Amo func (tx *Transaction) Nonce() uint64 { return tx.data.AccountNonce } func (tx *Transaction) CheckNonce() bool { return true } -// Get the recipient address of this transaction. -// It returns nil if the transaction is a contract creation transaction. +// To returns the recipient address of the transaction. +// It returns nil if the transaction is a contract creation. func (tx *Transaction) To() *common.Address { if tx.data.Recipient == nil { return nil