mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
scripted-diff: Use getInt<T> over get_int/get_int64
-BEGIN VERIFY SCRIPT- sed -i 's|\<get_int64\>|getInt<int64_t>|g' $(git grep -l get_int ':(exclude)src/univalue') sed -i 's|\<get_int\>|getInt<int>|g' $(git grep -l get_int ':(exclude)src/univalue') -END VERIFY SCRIPT-
This commit is contained in:
@@ -426,7 +426,7 @@ public:
|
||||
// try to handle the request. Otherwise, reraise the exception.
|
||||
if (!last_handler) {
|
||||
const UniValue& code = e["code"];
|
||||
if (code.isNum() && code.get_int() == RPC_WALLET_NOT_FOUND) {
|
||||
if (code.isNum() && code.getInt<int>() == RPC_WALLET_NOT_FOUND) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user