diff options
author | Airead <fgh1987168@gmail.com> | 2017-12-07 17:06:44 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-12-07 17:06:44 +0800 |
commit | 8092106abc06bb8c0435fabdd5cbd6f258abb8cf (patch) | |
tree | dc76941e5d5cb66681e74959210cd102ab3b1198 | |
parent | eab2201f808bbe1ef08a504f86cf41dd03aa979c (diff) | |
download | dexon-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.go | 2 |
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) } |