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

Commit 21c36fd

Browse files
committed
Make token optional
1 parent 9bcde4b commit 21c36fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lsps1/msgs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pub struct OrderParameters {
104104
/// Indicates how long the channel is leased for in block time.
105105
pub channel_expiry_blocks: u32,
106106
/// May contain arbitrary associated data like a coupon code or a authentication token.
107-
pub token: String,
107+
pub token: Option<String>,
108108
/// The address where the LSP will send the funds if the order fails.
109109
pub refund_onchain_address: Option<Address<NetworkUnchecked>>,
110110
/// Indicates if the channel should be announced to the network.

0 commit comments

Comments
 (0)