From b839a3a75d18245abc1724f894bdf401d91e2fc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren?= Date: Thu, 21 Nov 2024 20:51:49 -0600 Subject: [PATCH] Update types for NIM HTLC details --- src/types.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/types.ts b/src/types.ts index c37d610..2723889 100644 --- a/src/types.ts +++ b/src/types.ts @@ -120,7 +120,10 @@ export type FastspotContract = { id: string, intermediary: T extends SwapAsset.NIM ? { address: string, - timeoutBlock: number, + /** + * In milliseconds. + */ + timeoutTime: number, data: string, } : T extends SwapAsset.BTC ? { @@ -242,7 +245,10 @@ export type Estimate = { export type NimHtlcDetails = { address: string, - timeoutBlock: number, + /** + * In milliseconds. + */ + timeoutTime: number, data: string, };