diff options
author | Ting-Wei Lan <tingwei.lan@cobinhood.com> | 2019-04-02 16:50:01 +0800 |
---|---|---|
committer | Jhih-Ming Huang <jm@dexon.org> | 2019-05-08 13:20:53 +0800 |
commit | 6008337f6e562af1e9cf4c6ab70fe2c09d993c62 (patch) | |
tree | 9c066ce7df5f49301844c98d06c919e979eff549 /.github | |
parent | 682e15d8212cc376509f8f2ef854adf48efb64ef (diff) | |
download | dexon-6008337f6e562af1e9cf4c6ab70fe2c09d993c62.tar dexon-6008337f6e562af1e9cf4c6ab70fe2c09d993c62.tar.gz dexon-6008337f6e562af1e9cf4c6ab70fe2c09d993c62.tar.bz2 dexon-6008337f6e562af1e9cf4c6ab70fe2c09d993c62.tar.lz dexon-6008337f6e562af1e9cf4c6ab70fe2c09d993c62.tar.xz dexon-6008337f6e562af1e9cf4c6ab70fe2c09d993c62.tar.zst dexon-6008337f6e562af1e9cf4c6ab70fe2c09d993c62.zip |
core: vm: sqlvm: return a bool from DecimalEncode and DecimalDecode
Instead of returning a fixed error code, we can return a boolean here
because the only possibility of an error is invalid arguments. Callers
of these functions must know where invalid arguments come from, and
correctly handle it by converting it to an error struct or panicking.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions