mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
RawFillBlinds needs to push blank pubkeys if output it already blinded
This commit is contained in:
parent
aea8fa2a82
commit
b08fcb1f9a
1 changed files with 3 additions and 0 deletions
|
|
@ -575,10 +575,13 @@ void RawFillBlinds(CMutableTransaction& tx, std::vector<uint256>& output_value_b
|
|||
} else {
|
||||
output_pubkeys.push_back(CPubKey());
|
||||
}
|
||||
} else {
|
||||
output_pubkeys.push_back(CPubKey());
|
||||
}
|
||||
// No way to unblind anything, just fill out
|
||||
output_value_blinds.push_back(uint256());
|
||||
output_asset_blinds.push_back(uint256());
|
||||
}
|
||||
assert(output_pubkeys.size() == tx.vout.size());
|
||||
// We cannot unwind issuance inputs because there is no nonce placeholder for pubkeys
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue