Skip to content

Commit

Permalink
fixup! dev: support new dev recovery command
Browse files Browse the repository at this point in the history
Signed-off-by: Vincenzo Palazzo <[email protected]>
  • Loading branch information
vincenzopalazzo committed May 7, 2024
1 parent 028a0c5 commit b849ff1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion folgore-esplora/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,8 @@ impl<T: Clone, S: RecoveryStrategy> FolgoreBackend<T> for Esplora<S> {
.clone()
.status
.ok_or(error!("status object not found `{:?}`", outspend))?;
let spentheight = spentheight.get("block_height");
#[allow(clippy::unwrap_used)]
let spentheight = spentheight.get("block_height").unwrap().as_i64().unwrap();
self.call(
"dev-updateutxo",
serde_json::json!({
Expand Down

0 comments on commit b849ff1

Please sign in to comment.