diff --git a/core/types/transaction.go b/core/types/transaction.go
index a46521236ce08288b7d1af36bdf4961bdebd7712..7e2933bb1a14a2266a6d81e247adfefad3be6e3e 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)
 }