Skip to content

Commit

Permalink
fix rejection test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cylewitruk committed Feb 21, 2025
1 parent af18ba9 commit 2381f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signer/src/stacks/contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ impl AsContractCall for RejectWithdrawalV1 {
.saturating_sub(report.bitcoin_block_height);

// 4. The request is expired.
if blocks_observed < WITHDRAWAL_BLOCKS_EXPIRY.into() {
if blocks_observed <= WITHDRAWAL_BLOCKS_EXPIRY.into() {
return Err(WithdrawalRejectErrorMsg::RequestNotFinal.into_error(req_ctx, self));
}

Expand Down

0 comments on commit 2381f8c

Please sign in to comment.