diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2019-09-26 11:31:49 +0200 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2019-11-13 20:03:42 +0100 |
commit | c6dd565c8820aa8a98b190621e10c6e2821a9ecc (patch) | |
tree | 894f4cde23b01755a1d0300d1cdadbb31e10b8c3 /src/qt/walletmodel.cpp | |
parent | 39465d545d521e66bb3accfa788aa94bffaf47eb (diff) |
[gui] watch-only wallet: copy PSBT to clipboard
Diffstat (limited to 'src/qt/walletmodel.cpp')
-rw-r--r-- | src/qt/walletmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index 33801d3907..fb92e29f21 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -183,7 +183,7 @@ WalletModel::SendCoinsReturn WalletModel::prepareTransaction(WalletModelTransact std::string strFailReason; auto& newTx = transaction.getWtx(); - newTx = m_wallet->createTransaction(vecSend, coinControl, true /* sign */, nChangePosRet, nFeeRequired, strFailReason); + newTx = m_wallet->createTransaction(vecSend, coinControl, !privateKeysDisabled() /* sign */, nChangePosRet, nFeeRequired, strFailReason); transaction.setTransactionFee(nFeeRequired); if (fSubtractFeeFromAmount && newTx) transaction.reassignAmounts(nChangePosRet); |