mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Don't use blinders you don't control the inputs to
This commit is contained in:
parent
a1db263765
commit
fa06b2ae0c
1 changed files with 1 additions and 1 deletions
|
|
@ -936,7 +936,7 @@ UniValue blindrawtransaction(const JSONRPCRequest& request)
|
|||
for (size_t nIn = 0; nIn < tx.vin.size(); nIn++) {
|
||||
|
||||
std::map<uint256, CWalletTx>::iterator it = pwalletMain->mapWallet.find(tx.vin[nIn].prevout.hash);
|
||||
if (it == pwalletMain->mapWallet.end()) {
|
||||
if (it == pwalletMain->mapWallet.end() || pwalletMain->IsMine(tx.vin[nIn]) == ISMINE_NO) {
|
||||
// For inputs we don't own input assetcommitments for the surjection must be supplied
|
||||
if (auxiliary_generators.size() > 0) {
|
||||
input_blinds.push_back(uint256());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue