quick hack patch, continue if we can't find the address (for public key)

This commit is contained in:
sneurlax 2023-10-12 14:35:50 -05:00
parent 7c1c1cba7d
commit c6010c00ae

View file

@ -296,6 +296,10 @@ mixin FusionWalletInterface {
if (addr == null) { if (addr == null) {
// A utxo object should always have a non null address. // A utxo object should always have a non null address.
fusion.Utilities.debugPrint(
"UTXO ${utxo.txid}:${utxo.vout} address not found. TODO calculate it instead of continuing.",
);
continue;
throw Exception("UTXO ${utxo.txid}:${utxo.vout} address not found"); throw Exception("UTXO ${utxo.txid}:${utxo.vout} address not found");
} }