diff options
author | S. Matthew English <s-matthew-english@users.noreply.github.com> | 2017-06-12 20:45:17 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-06-12 20:45:17 +0800 |
commit | 061889d4ea13b23d777efbe005210ead8667e869 (patch) | |
tree | 35a391e5ac09e683796c3c698f36542f06803d03 /rlp/encode.go | |
parent | e3dfd5582026a8744a80d3de407601526b720abb (diff) | |
download | dexon-061889d4ea13b23d777efbe005210ead8667e869.tar.gz dexon-061889d4ea13b23d777efbe005210ead8667e869.tar.zst dexon-061889d4ea13b23d777efbe005210ead8667e869.zip |
rlp, trie, contracts, compression, consensus: improve comments (#14580)
Diffstat (limited to 'rlp/encode.go')
-rw-r--r-- | rlp/encode.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rlp/encode.go b/rlp/encode.go index c20897efe..44592c2f5 100644 --- a/rlp/encode.go +++ b/rlp/encode.go @@ -478,7 +478,7 @@ func writeEncoder(val reflect.Value, w *encbuf) error { // with a pointer receiver. func writeEncoderNoPtr(val reflect.Value, w *encbuf) error { if !val.CanAddr() { - // We can't get the address. It would be possible make the + // We can't get the address. It would be possible to make the // value addressable by creating a shallow copy, but this // creates other problems so we're not doing it (yet). // @@ -583,7 +583,7 @@ func makePtrWriter(typ reflect.Type) (writer, error) { return writer, err } -// putint writes i to the beginning of b in with big endian byte +// putint writes i to the beginning of b in big endian byte // order, using the least number of bytes needed to represent i. func putint(b []byte, i uint64) (size int) { switch { |