Skip to content

Commit 9eaf48a

Browse files
committed
fix: conditions
1 parent 53ccb43 commit 9eaf48a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

protocol-zap/src/utils/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fn validate_zap_parameters(
3131
return Err(ProtozolZapError::InvalidZapOutParameters);
3232
}
3333

34-
if zap_params.max_swap_amount >= max_claim_amount {
34+
if zap_params.max_swap_amount != max_claim_amount {
3535
return Err(ProtozolZapError::InvalidZapOutParameters);
3636
}
3737

0 commit comments

Comments
 (0)