Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rajarshimaitra committed Feb 24, 2024
1 parent 4ca8803 commit e6c2a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swaps/boltz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ impl CreateSwapResponse {
keypair: &ZKKeyPair,
chain: Chain,
) -> Result<LBtcSwapScript, Error> {
self.validate_submarine(&preimage, &keypair, chain)?;
self.validate_reverse(&preimage, &keypair, chain)?;
Ok(LBtcSwapScript::reverse_from_str(
&self.get_redeem_script()?,
&self.get_blinding_key()?,
Expand Down

0 comments on commit e6c2a1f

Please sign in to comment.