test, refactor: Remove unused warnings in wallet/test/util.cpp

These have been unused since the following commits:
 - c61d3f02f5
 - e12ff8aca0
This commit is contained in:
Hennadii Stepanov
2026-08-06 12:20:24 +01:00
parent c4fbd3c721
commit da58e55986

View File

@@ -67,7 +67,6 @@ std::shared_ptr<CWallet> TestCreateWallet(WalletContext& context)
options.create_flags = WALLET_FLAG_DESCRIPTORS;
DatabaseStatus status;
bilingual_str error;
std::vector<bilingual_str> warnings;
auto database = MakeWalletDatabase("", options, status, error);
return TestCreateWallet(std::move(database), context, options.create_flags);
}
@@ -91,7 +90,6 @@ std::shared_ptr<CWallet> TestLoadWallet(WalletContext& context)
options.require_existing = true;
DatabaseStatus status;
bilingual_str error;
std::vector<bilingual_str> warnings;
auto database = MakeWalletDatabase("", options, status, error);
return TestLoadWallet(std::move(database), context);
}