Skip to content

Commit 19146b5

Browse files
committed
feat: add Optional invocie to restore response
1 parent 755f917 commit 19146b5

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)