Skip to content

Commit

Permalink
Disable recovered_fp_btc_sk validation in SlashedBtcDelegation (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
gusin13 authored Sep 17, 2024
1 parent 74c5c0b commit 83b5096
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/apis/src/validate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ impl Validate for SlashedBtcDelegation {
return Err(StakingApiError::InvalidStakingTxHash(HASH_SIZE * 2));
}

if self.recovered_fp_btc_sk.is_empty() {
return Err(StakingApiError::EmptyBtcSk);
}
// if self.recovered_fp_btc_sk.is_empty() {
// return Err(StakingApiError::EmptyBtcSk);
// }

Ok(())
}
Expand Down

0 comments on commit 83b5096

Please sign in to comment.