Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 649bcbc

Browse files
committed
Make token optional
1 parent d29d75f commit 649bcbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lsps1/msgs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ pub struct OrderParams {
106106
/// Indicates how long the channel is leased for in block time.
107107
pub channel_expiry_blocks: u32,
108108
/// May contain arbitrary associated data like a coupon code or a authentication token.
109-
pub token: String,
109+
pub token: Option<String>,
110110
/// The address where the LSP will send the funds if the order fails.
111111
pub refund_onchain_address: Option<Address<NetworkUnchecked>>,
112112
/// Indicates if the channel should be announced to the network.

0 commit comments

Comments
 (0)