aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpc/backup.cpp
diff options
context:
space:
mode:
authorAurèle Oulès <aurele@oules.com>2022-04-09 02:14:02 +0200
committerAurèle Oulès <aurele@oules.com>2022-04-16 15:07:41 +0200
commitee02c8bd9aedad8cfd3c2618035fe275da025fb9 (patch)
tree72fe1415dda3b7f515243c025c5bc4dab761650a /src/wallet/rpc/backup.cpp
parente0680bbce8b89ad5de9d1b9f818b76df68d72696 (diff)
downloadbitcoin-ee02c8bd9aedad8cfd3c2618035fe275da025fb9.tar.xz
util/check: Add CHECK_NONFATAL identity function, NONFATAL_UNREACHABLE AND UNREACHABLE macros
Diffstat (limited to 'src/wallet/rpc/backup.cpp')
-rw-r--r--src/wallet/rpc/backup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpc/backup.cpp b/src/wallet/rpc/backup.cpp
index b048ddfc6e..7481072815 100644
--- a/src/wallet/rpc/backup.cpp
+++ b/src/wallet/rpc/backup.cpp
@@ -915,7 +915,7 @@ static std::string RecurseImportData(const CScript& script, ImportData& import_d
case TxoutType::WITNESS_V1_TAPROOT:
return "unrecognized script";
} // no default case, so the compiler can warn about missing cases
- CHECK_NONFATAL(false);
+ NONFATAL_UNREACHABLE();
}
static UniValue ProcessImportLegacy(ImportData& import_data, std::map<CKeyID, CPubKey>& pubkey_map, std::map<CKeyID, CKey>& privkey_map, std::set<CScript>& script_pub_keys, bool& have_solving_data, const UniValue& data, std::vector<CKeyID>& ordered_pubkeys)