paid at unix default

This commit is contained in:
boufni95 2026-02-17 21:29:34 +00:00
parent 97de703feb
commit e32dff939e
No known key found for this signature in database

View file

@ -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,
}
}