mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-12 22:52:47 +02:00
Merge bitcoin/bitcoin#29388: fuzz: remove unused args
and context
from FuzzedWallet
b14298c5bc
fuzz: remove unused `args` and `context` from `FuzzedWallet` (brunoerg) Pull request description: `ArgsManager args` and `WalletContext context` were previously used to create the wallet into `FuzzedWallet`. Afterfa15861763
, they are not used anymore. This PR removes them. ACKs for top commit: maflcko: lgtm ACKb14298c5bc
epiccurious: utACKb14298c5bc
ryanofsky: Code review ACKb14298c5bc
Tree-SHA512: 164e6a66ba05e11176a0cf68db6257f0ac07459cf7aa01ec4302b303c156c205a68128373a0b8daba0a6dfbff990af7fa14465a6341a296312fb20ea778c7a8c
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