mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
pset: Respect issuance needs blinded flag
This commit is contained in:
parent
cf870ed8d0
commit
9ecbf38050
1 changed files with 2 additions and 1 deletions
|
|
@ -415,7 +415,8 @@ BlindingStatus BlindPSBT(PartiallySignedTransaction& psbt, std::map<uint32_t, st
|
|||
}
|
||||
|
||||
// Handle issuances
|
||||
if (input.m_issuance_value != std::nullopt || input.m_issuance_value_commitment.IsCommitment() || input.m_issuance_inflation_keys_amount != std::nullopt || input.m_issuance_inflation_keys_commitment.IsCommitment()) {
|
||||
if ((!input.m_blinded_issuance.has_value() || input.m_blinded_issuance.value()) &&
|
||||
(input.m_issuance_value != std::nullopt || input.m_issuance_value_commitment.IsCommitment() || input.m_issuance_inflation_keys_amount != std::nullopt || input.m_issuance_inflation_keys_commitment.IsCommitment())) {
|
||||
CAsset issuance_asset;
|
||||
CAsset reissuance_asset;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue