diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2021-12-13 13:24:17 +0700 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2021-12-24 16:28:53 +0100 |
commit | 8d1a3e6498de6087501969a9d243b0697ca3fe97 (patch) | |
tree | 78680f3559833bc5b8a151d721b0c8a140fad1d6 /src/rpc/util.h | |
parent | bfbf91d0b2004dde358253ac174982f784b43b59 (diff) | |
download | bitcoin-8d1a3e6498de6087501969a9d243b0697ca3fe97.tar.xz |
rpc: allow empty JSON object result
Diffstat (limited to 'src/rpc/util.h')
-rw-r--r-- | src/rpc/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/util.h b/src/rpc/util.h index d43ee33b0f..352a3e4e4e 100644 --- a/src/rpc/util.h +++ b/src/rpc/util.h @@ -240,6 +240,7 @@ struct RPCResult { STR_AMOUNT, //!< Special string to represent a floating point amount STR_HEX, //!< Special string with only hex chars OBJ_DYN, //!< Special dictionary with keys that are not literals + OBJ_EMPTY, //!< Special type to allow empty OBJ ARR_FIXED, //!< Special array that has a fixed number of entries NUM_TIME, //!< Special numeric to denote unix epoch time ELISION, //!< Special type to denote elision (...) |