Skip to content

Commit

Permalink
fix(esplora): add support for signet network
Browse files Browse the repository at this point in the history
Signed-off-by: Vincenzo Palazzo <[email protected]>
  • Loading branch information
vincenzopalazzo committed Sep 28, 2023
1 parent 5f075cf commit 0f7a71b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions folgore-esplora/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ impl<T: Clone, S: RecoveryStrategy> FolgoreBackend<T> for Esplora<S> {
let network = match genesis.id.to_string().as_str() {
"000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f" => "main",
"000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943" => "test",
"00000008819873e925422c1ff0f99f7cc9bbb232af63a077a480a3633bee1ef6" => "signet",
"1466275836220db2944ca059a3a10ef6fd2ea684b0688d2c379296888a206003" => "liquidv1",
_ => return Err(error!("wrong chain hash {}", genesis.id)),
};
Expand Down

0 comments on commit 0f7a71b

Please sign in to comment.