mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-12 05:32:22 +02:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user