Skip to content

Commit

Permalink
feat: add option for broadcasting claims and refunds via block explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
SwapMarket committed Jan 15, 2025
1 parent 2fa81cf commit 6f73e38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/refund.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ const broadcastRefund = async <T extends SubmarineSwap | ChainSwap>(
): Promise<T> => {
try {
// We cannot use the context here, so we get the data directly from local storage
const externalBroadcast = localStorage.getItem(externalBroadcastIdKey);
const externalBroadcast =
localStorage.getItem(externalBroadcastIdKey) === "true";

log.debug(
"Broadcasting refund transaction via",
Expand Down

0 comments on commit 6f73e38

Please sign in to comment.