aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodeltransaction.cpp
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2020-02-21 22:28:40 +0100
committerSjors Provoost <sjors@sprovoost.nl>2021-05-27 14:37:59 +0200
commit1c4b456e1a0ccf0397d652f8c18201c3224c5c21 (patch)
treed5fe0f6b23f56ac5a9dc77fe281856e7588215d0 /src/qt/walletmodeltransaction.cpp
parent24815c6309431cb0797defaf7add1150bcf4b567 (diff)
downloadbitcoin-1c4b456e1a0ccf0397d652f8c18201c3224c5c21.tar.xz
gui: send using external signer
Diffstat (limited to 'src/qt/walletmodeltransaction.cpp')
-rw-r--r--src/qt/walletmodeltransaction.cpp5
1 files changed, 5 insertions, 0 deletions
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;