diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-08-24 18:32:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-24 18:32:45 +0800 |
commit | 20b818d206231bc9cfc70f08acb07f77be134c25 (patch) | |
tree | 711774deb70cb5763ca5fac9d453a5a772ef67b5 /rlp/decode.go | |
parent | 3c48a25762dfab9382791c33a2f5832466077ac3 (diff) | |
parent | 63246e25426df51143d5fb06861d418753267ab1 (diff) | |
download | dexon-20b818d206231bc9cfc70f08acb07f77be134c25.tar dexon-20b818d206231bc9cfc70f08acb07f77be134c25.tar.gz dexon-20b818d206231bc9cfc70f08acb07f77be134c25.tar.bz2 dexon-20b818d206231bc9cfc70f08acb07f77be134c25.tar.lz dexon-20b818d206231bc9cfc70f08acb07f77be134c25.tar.xz dexon-20b818d206231bc9cfc70f08acb07f77be134c25.tar.zst dexon-20b818d206231bc9cfc70f08acb07f77be134c25.zip |
Merge pull request #15029 from karalabe/rlp-raw-decode
rlp: fix decoding long strings into RawValue types
Diffstat (limited to 'rlp/decode.go')
-rw-r--r-- | rlp/decode.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rlp/decode.go b/rlp/decode.go index 78ccf6275..60d9dab2b 100644 --- a/rlp/decode.go +++ b/rlp/decode.go @@ -693,7 +693,7 @@ func (s *Stream) Raw() ([]byte, error) { return nil, err } if kind == String { - puthead(buf, 0x80, 0xB8, size) + puthead(buf, 0x80, 0xB7, size) } else { puthead(buf, 0xC0, 0xF7, size) } |