diff --git a/src/services/lnd/swaps/swaps.ts b/src/services/lnd/swaps/swaps.ts index 3a21d2f8..c5abad05 100644 --- a/src/services/lnd/swaps/swaps.ts +++ b/src/services/lnd/swaps/swaps.ts @@ -83,7 +83,7 @@ export class Swaps { service_url: s.service_url, swap_fee_sats: s.swap_fee_sats, tx_id: s.tx_id, - paid_at_unix: s.paid_at_unix, + paid_at_unix: s.paid_at_unix || (s.tx_id ? 1 : 0), expires_at_block_height: s.timeout_block_height, } }