From 8092106abc06bb8c0435fabdd5cbd6f258abb8cf Mon Sep 17 00:00:00 2001
From: Airead <fgh1987168@gmail.com>
Date: Thu, 7 Dec 2017 17:06:44 +0800
Subject: [PATCH] core/types: fix typo in comment (#15619)

---
 core/types/transaction.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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