diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-02-10 19:50:56 -0500 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-03-09 11:16:17 -0400 |
commit | 3d70dd99f9f74eef70b19ff6f6f850adc0d5ef8f (patch) | |
tree | 4a4f77dfab8fa0209237a259293ccc545c2f5037 /src/interfaces/wallet.cpp | |
parent | a4af324d15c1ee43c2abd11a304ae18c7ee82eb0 (diff) |
Move FillPSBT to be a member of CWallet
Diffstat (limited to 'src/interfaces/wallet.cpp')
-rw-r--r-- | src/interfaces/wallet.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/interfaces/wallet.cpp b/src/interfaces/wallet.cpp index 7ddf3b22e8..83ce9aba74 100644 --- a/src/interfaces/wallet.cpp +++ b/src/interfaces/wallet.cpp @@ -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 { |