Skip to content

Commit 080eb32

Browse files
committed
fix(sdk-core): use DateFromISOString in invoice expiry
BTC-0 TICKET: BTC-0
1 parent aceade3 commit 080eb32

File tree

1 file changed

+1
-1
lines changed
  • modules/sdk-core/src/bitgo/lightning

1 file changed

+1
-1
lines changed

modules/sdk-core/src/bitgo/lightning/codecs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ export const Invoice = t.intersection(
239239
walletId: t.string,
240240
status: InvoiceStatus,
241241
/** A date in ISO format representing when this invoice expires. */
242-
expiresAt: t.string,
242+
expiresAt: DateFromISOString,
243243
}),
244244
t.partial({
245245
memo: t.string,

0 commit comments

Comments
 (0)