diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2016-02-09 20:57:00 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2016-02-11 17:16:38 +0800 |
commit | ecc876cec0b4c70bfa5ff9939ac86715bf9579de (patch) | |
tree | 54538afc6ccd8f0ff7eb1a35e0caf54920f11046 /core | |
parent | 856b9e9c500dae60ed84e75d9577b2deb504558e (diff) | |
download | dexon-ecc876cec0b4c70bfa5ff9939ac86715bf9579de.tar.gz dexon-ecc876cec0b4c70bfa5ff9939ac86715bf9579de.tar.zst dexon-ecc876cec0b4c70bfa5ff9939ac86715bf9579de.zip |
accounts/abi: fixed return tuple and string, bytes return type parsing
Removed old unmarshalling of return types: `abi.Call(...).([]byte)`.
This is now replaced by a new syntax:
```
var a []byte
err := abi.Call(&a, ...)
```
It also addresses a few issues with Bytes and Strings and can also
handle both fixed and arbitrary sized byte slices, including strings.
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions