aboutsummaryrefslogtreecommitdiffstats
path: root/core
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 /core
parenteab2201f808bbe1ef08a504f86cf41dd03aa979c (diff)
downloadgo-tangerine-8092106abc06bb8c0435fabdd5cbd6f258abb8cf.tar.gz
go-tangerine-8092106abc06bb8c0435fabdd5cbd6f258abb8cf.tar.zst
go-tangerine-8092106abc06bb8c0435fabdd5cbd6f258abb8cf.zip
core/types: fix typo in comment (#15619)
Diffstat (limited to 'core')
-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)
}