mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-17 02:57:33 +02:00
rpc: Use untranslated error strings in loadtxoutset
This commit is contained in:
@@ -2833,7 +2833,7 @@ static RPCHelpMan loadtxoutset()
|
||||
|
||||
auto activation_result{chainman.ActivateSnapshot(afile, metadata, false)};
|
||||
if (!activation_result) {
|
||||
throw JSONRPCError(RPC_INTERNAL_ERROR, strprintf(_("Unable to load UTXO snapshot: %s\n"), util::ErrorString(activation_result)).original);
|
||||
throw JSONRPCError(RPC_INTERNAL_ERROR, strprintf("Unable to load UTXO snapshot: %s. (%s)", util::ErrorString(activation_result).original, path.utf8string()));
|
||||
}
|
||||
|
||||
UniValue result(UniValue::VOBJ);
|
||||
|
||||
Reference in New Issue
Block a user