Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianElvis committed Sep 16, 2024
1 parent 8d333e1 commit 3772272
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/btc-staking/src/staking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,6 @@ fn handle_undelegation(
// Basic stateless checks
undelegation.validate()?;

let params = PARAMS.load(storage)?;

let staking_tx_hash = Txid::from_str(&undelegation.staking_tx_hash)?;
let mut btc_del = DELEGATIONS.load(storage, staking_tx_hash.as_ref())?;

Expand Down

0 comments on commit 3772272

Please sign in to comment.