diff options
author | Felix Lange <fjl@twurst.com> | 2015-04-17 07:16:46 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-04-17 20:45:09 +0800 |
commit | cad64fb911e7029bef876f16e0956b3b0b4bb4d0 (patch) | |
tree | 89c0005bc28fe08cb54cab9c49800a21c2f1bf94 /miner/worker.go | |
parent | 1e2c93aa2da453ef9548b9957b5ed453f60ce5ca (diff) | |
download | go-tangerine-cad64fb911e7029bef876f16e0956b3b0b4bb4d0.tar go-tangerine-cad64fb911e7029bef876f16e0956b3b0b4bb4d0.tar.gz go-tangerine-cad64fb911e7029bef876f16e0956b3b0b4bb4d0.tar.bz2 go-tangerine-cad64fb911e7029bef876f16e0956b3b0b4bb4d0.tar.lz go-tangerine-cad64fb911e7029bef876f16e0956b3b0b4bb4d0.tar.xz go-tangerine-cad64fb911e7029bef876f16e0956b3b0b4bb4d0.tar.zst go-tangerine-cad64fb911e7029bef876f16e0956b3b0b4bb4d0.zip |
rlp: stricter rules for structs and pointers
The rules have changed as follows:
* When decoding into pointers, empty values no longer produce
a nil pointer. This can be overriden for struct fields using the
struct tag "nil".
* When decoding into structs, the input list must contain an element
for each field.
Diffstat (limited to 'miner/worker.go')
0 files changed, 0 insertions, 0 deletions