mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Merge ElementsProject/elements#1055: minor PSET fix
0e1007fa7bminor PSET fix (Andrew Poelstra) Pull request description: Noticed because it triggered a compiler warning. No test -- we will add one in a future "end-to-end issuance via PSET" tutorial script which is out of scope for the 0.21 release. ACKs for top commit: achow101: ACK0e1007fa7bTree-SHA512: c90427fd74c84bdee6940d2148818793e4641e6dd12dd4855a229afb6b725313c6074fc14171c911e5a541e252dd4027e65521c7fe5c62e265fb38076c1d5ca4
This commit is contained in:
commit
43665e3ca0
1 changed files with 1 additions and 1 deletions
|
|
@ -434,7 +434,7 @@ bool PSBTInput::Merge(const PSBTInput& input)
|
|||
}
|
||||
if (m_issuance_rangeproof.empty() && !input.m_issuance_rangeproof.empty()) m_issuance_rangeproof = input.m_issuance_rangeproof;
|
||||
if (m_issuance_inflation_keys_rangeproof.empty() && !input.m_issuance_inflation_keys_rangeproof.empty()) m_issuance_inflation_keys_rangeproof = input.m_issuance_inflation_keys_rangeproof;
|
||||
if (m_issuance_inflation_keys_amount == nullopt && m_issuance_inflation_keys_commitment.IsNull() && input.m_issuance_inflation_keys_amount != nullopt) m_issuance_inflation_keys_amount = m_issuance_inflation_keys_amount;
|
||||
if (m_issuance_inflation_keys_amount == nullopt && m_issuance_inflation_keys_commitment.IsNull() && input.m_issuance_inflation_keys_amount != nullopt) m_issuance_inflation_keys_amount = input.m_issuance_inflation_keys_amount;
|
||||
if (m_issuance_inflation_keys_commitment.IsNull() && !input.m_issuance_inflation_keys_commitment.IsNull()) {
|
||||
m_issuance_inflation_keys_commitment = input.m_issuance_inflation_keys_commitment;
|
||||
m_issuance_inflation_keys_amount.reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue