mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Move FillPSBT to be a member of CWallet
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
#include <wallet/fees.h>
|
||||
#include <wallet/ismine.h>
|
||||
#include <wallet/load.h>
|
||||
#include <wallet/psbtwallet.h>
|
||||
#include <wallet/rpcwallet.h>
|
||||
#include <wallet/wallet.h>
|
||||
|
||||
@@ -361,9 +360,9 @@ public:
|
||||
bool& complete,
|
||||
int sighash_type = 1 /* SIGHASH_ALL */,
|
||||
bool sign = true,
|
||||
bool bip32derivs = false) override
|
||||
bool bip32derivs = false) const override
|
||||
{
|
||||
return FillPSBT(m_wallet.get(), psbtx, complete, sighash_type, sign, bip32derivs);
|
||||
return m_wallet->FillPSBT(psbtx, complete, sighash_type, sign, bip32derivs);
|
||||
}
|
||||
WalletBalances getBalances() override
|
||||
{
|
||||
|
||||
@@ -196,7 +196,7 @@ public:
|
||||
bool& complete,
|
||||
int sighash_type = 1 /* SIGHASH_ALL */,
|
||||
bool sign = true,
|
||||
bool bip32derivs = false) = 0;
|
||||
bool bip32derivs = false) const = 0;
|
||||
|
||||
//! Get balances.
|
||||
virtual WalletBalances getBalances() = 0;
|
||||
|
||||
Reference in New Issue
Block a user