diff --git a/src-gui/src/renderer/components/navigation/NavigationFooter.tsx b/src-gui/src/renderer/components/navigation/NavigationFooter.tsx index 8e9732ab..a76e0b8d 100644 --- a/src-gui/src/renderer/components/navigation/NavigationFooter.tsx +++ b/src-gui/src/renderer/components/navigation/NavigationFooter.tsx @@ -7,7 +7,7 @@ import UnfinishedSwapsAlert from "../alert/UnfinishedSwapsAlert"; import LinkIconButton from "../icons/LinkIconButton"; import BackgroundRefundAlert from "../alert/BackgroundRefundAlert"; import MatrixIcon from "../icons/MatrixIcon"; -import { BookRounded } from "@material-ui/icons"; +import { BookRounded, MenuBook } from "@material-ui/icons"; const useStyles = makeStyles((theme) => ({ outer: { @@ -50,7 +50,7 @@ export default function NavigationFooter() { - + diff --git a/swap/src/protocol/bob/swap.rs b/swap/src/protocol/bob/swap.rs index 8954df7a..77fce91f 100644 --- a/swap/src/protocol/bob/swap.rs +++ b/swap/src/protocol/bob/swap.rs @@ -416,7 +416,11 @@ async fn next_state( event_emitter .emit_swap_progress_event(swap_id, TauriSwapProgressEvent::CancelTimelockExpired); - if state4.check_for_tx_cancel(bitcoin_wallet).await.is_err() { + if let Err(err) = state4.check_for_tx_cancel(bitcoin_wallet).await { + tracing::debug!( + %err, + "Couldn't find tx_cancel yet, publishing ourselves" + ); state4.submit_tx_cancel(bitcoin_wallet).await?; }