Skip to content

Commit

Permalink
fix: PayType (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlwn123 authored Oct 23, 2024
1 parent d07331c commit 7b67b6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/little-peaches-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@fedimint/core-web': patch
---

Fix PayType
5 changes: 1 addition & 4 deletions packages/core-web/src/types/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ type OutgoingLightningPayment = {
fee: MSats
}

type PayType = {
type: 'Internal' | 'Lightning'
operation_id: string
}
type PayType = { lightning: string } | { internal: string }

type LnPayState =
| 'created'
Expand Down

0 comments on commit 7b67b6d

Please sign in to comment.