Skip to content

Commit

Permalink
Just warn instead of panicking when a TXO is not in the UTXO set.
Browse files Browse the repository at this point in the history
This happens, for instance, with native P2WPKH and P2WSH.
  • Loading branch information
mikispag committed Oct 25, 2017
1 parent 6297f8e commit 0296c71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/callbacks/clusterizer.rs
Expand Up @@ -386,8 +386,8 @@ impl Callback for Clusterizer {
tx_inputs.insert(address.to_owned());
}
None => {
panic!("Error while retrieving {:#?} from the UTXO set!",
tx_outpoint);
warn!("{:#?} is not present in the UTXO set!", tx_outpoint);
continue;
}
};

Expand Down

0 comments on commit 0296c71

Please sign in to comment.