Skip to content

Commit

Permalink
fix build err
Browse files Browse the repository at this point in the history
  • Loading branch information
dimxy committed Nov 7, 2024
1 parent b92d065 commit 601519d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm2src/coins/z_coin/z_htlc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ pub async fn z_send_dex_fee(
uuid: &[u8],
) -> Result<ZTransaction, MmError<SendOutputsErr>> {
if matches!(dex_fee, DexFee::NoFee) {
return SendOutputsErr::InternalError("unexpected DexFee::NoFee".to_string()).into();
return MmError::err(SendOutputsErr::InternalError("unexpected DexFee::NoFee".to_string()));
}
let dex_fee_amount_sat = sat_from_big_decimal(&dex_fee.fee_amount().to_decimal(), coin.utxo_arc.decimals)?;
// add dex fee output
Expand Down

0 comments on commit 601519d

Please sign in to comment.