We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 07cf0b2 + 030811b commit ec62262Copy full SHA for ec62262
src/wallet/rpcwallet.cpp
@@ -5527,8 +5527,8 @@ UniValue blindrawtransaction(const JSONRPCRequest& request)
5527
COutPoint prevout = tx.vin[nIn].prevout;
5528
5529
std::map<uint256, CWalletTx>::iterator it = pwallet->mapWallet.find(prevout.hash);
5530
- if (it == pwallet->mapWallet.end()) {
5531
- // For inputs we don't own input assetcommitments for the surjection must be supplied
+ if (it == pwallet->mapWallet.end() || pwallet->IsMine(tx.vin[nIn]) == ISMINE_NO) {
+ // For inputs we don't own, input assetcommitments for the surjection must be supplied.
5532
if (auxiliary_generators.size() > 0) {
5533
input_blinds.push_back(uint256());
5534
input_asset_blinds.push_back(uint256());
0 commit comments