Skip to content

Commit

Permalink
Merge pull request #136 from getAlby/fix/optional-preimage
Browse files Browse the repository at this point in the history
fix: make preimage optional
  • Loading branch information
rolznz authored Nov 23, 2023
2 parents 42b320d + 328130f commit 1353dca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export type Invoice = {
payer_pubkey?: string;
payment_hash: string;
payment_request: string;
preimage: string;
preimage?: string;
r_hash_str: string;
settled: boolean;
settled_at: string;
Expand Down

0 comments on commit 1353dca

Please sign in to comment.