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.
1 parent 6e6a922 commit 2bf627eCopy full SHA for 2bf627e
src/psbt.h
@@ -1028,7 +1028,7 @@ struct PSBTInput
1028
if ((m_explicit_value.has_value() || !m_value_proof.empty()) && (!m_explicit_value.has_value() || m_value_proof.empty())) {
1029
throw std::ios_base::failure("Input explicit value and value proof must be provided together");
1030
}
1031
- if ((!m_explicit_asset.IsNull() || !m_asset_proof.empty()) && (!m_explicit_asset.IsNull() || m_asset_proof.empty())) {
+ if ((!m_explicit_asset.IsNull() || !m_asset_proof.empty()) && (m_explicit_asset.IsNull() || m_asset_proof.empty())) {
1032
throw std::ios_base::failure("Input explicit asset and asset proof must be provided together");
1033
1034
0 commit comments