mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-09-28 19:57:01 +02:00
fuzz: remove unused args
and context
from FuzzedWallet
This commit is contained in:
@@ -3,7 +3,6 @@
|
|||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#include <addresstype.h>
|
#include <addresstype.h>
|
||||||
#include <common/args.h>
|
|
||||||
#include <consensus/amount.h>
|
#include <consensus/amount.h>
|
||||||
#include <interfaces/chain.h>
|
#include <interfaces/chain.h>
|
||||||
#include <kernel/chain.h>
|
#include <kernel/chain.h>
|
||||||
@@ -89,8 +88,6 @@ void ImportDescriptors(CWallet& wallet, const std::string& seed_insecure)
|
|||||||
* Wraps a descriptor wallet for fuzzing.
|
* Wraps a descriptor wallet for fuzzing.
|
||||||
*/
|
*/
|
||||||
struct FuzzedWallet {
|
struct FuzzedWallet {
|
||||||
ArgsManager args;
|
|
||||||
WalletContext context;
|
|
||||||
std::shared_ptr<CWallet> wallet;
|
std::shared_ptr<CWallet> wallet;
|
||||||
FuzzedWallet(const std::string& name, const std::string& seed_insecure)
|
FuzzedWallet(const std::string& name, const std::string& seed_insecure)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user