aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAiread <fgh1987168@gmail.com>2017-12-07 17:06:44 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-12-07 17:06:44 +0800
commit8092106abc06bb8c0435fabdd5cbd6f258abb8cf (patch)
treedc76941e5d5cb66681e74959210cd102ab3b1198
parenteab2201f808bbe1ef08a504f86cf41dd03aa979c (diff)
downloaddexon-8092106abc06bb8c0435fabdd5cbd6f258abb8cf.tar
dexon-8092106abc06bb8c0435fabdd5cbd6f258abb8cf.tar.gz
dexon-8092106abc06bb8c0435fabdd5cbd6f258abb8cf.tar.bz2
dexon-8092106abc06bb8c0435fabdd5cbd6f258abb8cf.tar.lz
dexon-8092106abc06bb8c0435fabdd5cbd6f258abb8cf.tar.xz
dexon-8092106abc06bb8c0435fabdd5cbd6f258abb8cf.tar.zst
dexon-8092106abc06bb8c0435fabdd5cbd6f258abb8cf.zip
core/types: fix typo in comment (#15619)
-rw-r--r--core/types/transaction.go2
1 files changed, 1 insertions, 1 deletions
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)
}