diff --git a/core/types/transaction.go b/core/types/transaction.go index a46521236c..7e2933bb1a 100644 --- a/core/types/transaction.go +++ b/core/types/transaction.go @@ -137,7 +137,7 @@ func isProtectedV(V *big.Int) bool { return true } -// DecodeRLP implements rlp.Encoder +// EncodeRLP implements rlp.Encoder func (tx *Transaction) EncodeRLP(w io.Writer) error { return rlp.Encode(w, &tx.data) }