Merge pull request #881 from shocknet/paid_at_unix_default
paid at unix default
This commit is contained in:
commit
c85968ce2f
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ export class Swaps {
|
||||||
service_url: s.service_url,
|
service_url: s.service_url,
|
||||||
swap_fee_sats: s.swap_fee_sats,
|
swap_fee_sats: s.swap_fee_sats,
|
||||||
tx_id: s.tx_id,
|
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,
|
expires_at_block_height: s.timeout_block_height,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue