From 83b50960127b95986fa81f61dfbdf39832259b99 Mon Sep 17 00:00:00 2001 From: Gurjot Singh <111540954+gusin13@users.noreply.github.com> Date: Tue, 17 Sep 2024 14:18:21 -0400 Subject: [PATCH] Disable recovered_fp_btc_sk validation in SlashedBtcDelegation (#63) --- packages/apis/src/validate.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/apis/src/validate.rs b/packages/apis/src/validate.rs index 41ba0f99..2b1d4719 100644 --- a/packages/apis/src/validate.rs +++ b/packages/apis/src/validate.rs @@ -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(()) }