Skip to content

Commit 26c2d6d

Browse files
authored
Merge pull request #159 from SatoshiPortal/optional-invoice
feat: add Optional invocie to restore response
2 parents 755f917 + 19146b5 commit 26c2d6d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/swaps/boltz.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,8 @@ pub struct SwapRestoreResponse {
996996
pub created_at: u64,
997997
pub from: String,
998998
pub to: String,
999+
/// Lightning invoice; boltz only returns it for submarine/reverse swaps.
1000+
pub invoice: Option<String>,
9991001
pub claim_details: Option<ClaimDetails>,
10001002
pub refund_details: Option<RefundDetails>,
10011003
}

0 commit comments

Comments
 (0)