From 1c4b456e1a0ccf0397d652f8c18201c3224c5c21 Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Fri, 21 Feb 2020 22:28:40 +0100 Subject: gui: send using external signer --- src/qt/walletmodeltransaction.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/qt/walletmodeltransaction.cpp') diff --git a/src/qt/walletmodeltransaction.cpp b/src/qt/walletmodeltransaction.cpp index 25172e774c..d185ddb7e8 100644 --- a/src/qt/walletmodeltransaction.cpp +++ b/src/qt/walletmodeltransaction.cpp @@ -26,6 +26,11 @@ CTransactionRef& WalletModelTransaction::getWtx() return wtx; } +void WalletModelTransaction::setWtx(const CTransactionRef& newTx) +{ + wtx = newTx; +} + unsigned int WalletModelTransaction::getTransactionSize() { return wtx ? GetVirtualTransactionSize(*wtx) : 0; -- cgit v1.2.3