mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-29 15:34:09 +02:00
We were throwing two different errors for the same problematic: * "Expected type {expected], got {type}" --> RPCTypeCheckArgument() * "JSON value of type {type} is not of expected type {expected}" --> UniValue::checkType()