Skip to content

Commit

Permalink
Update types for NIM HTLC details
Browse files Browse the repository at this point in the history
  • Loading branch information
sisou committed Nov 22, 2024
1 parent 576985e commit b839a3a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ export type FastspotContract<T extends SwapAsset> = {
id: string,
intermediary: T extends SwapAsset.NIM ? {
address: string,
timeoutBlock: number,
/**
* In milliseconds.
*/
timeoutTime: number,
data: string,
}
: T extends SwapAsset.BTC ? {
Expand Down Expand Up @@ -242,7 +245,10 @@ export type Estimate = {

export type NimHtlcDetails = {
address: string,
timeoutBlock: number,
/**
* In milliseconds.
*/
timeoutTime: number,
data: string,
};

Expand Down

0 comments on commit b839a3a

Please sign in to comment.