mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
pset: verify blind value and asset proofs when signing
This commit is contained in:
parent
a7ef9f325d
commit
b2a7007961
5 changed files with 56 additions and 2 deletions
|
|
@ -37,6 +37,10 @@ bilingual_str TransactionErrorString(const TransactionError err)
|
|||
return Untranslated("Transaction values or blinders are not balanced");
|
||||
case TransactionError::UTXOS_MISSING_BALANCE_CHECK:
|
||||
return Untranslated("Missing UTXOs that are needed to check transaction balance");
|
||||
case TransactionError::INVALID_VALUE_PROOF:
|
||||
return Untranslated("Proof of blinded value is invalid");
|
||||
case TransactionError::INVALID_ASSET_PROOF:
|
||||
return Untranslated("Proof of blinded asset is invalid");
|
||||
// no default case, so the compiler can warn about missing cases
|
||||
}
|
||||
assert(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue