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

Commit 0e647a5

Browse files
committed
Make token optional
1 parent d54ce80 commit 0e647a5

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
@@ -103,7 +103,7 @@ pub struct OrderParameters {
103103
/// Indicates how long the channel is leased for in block time.
104104
pub channel_expiry_blocks: u32,
105105
/// May contain arbitrary associated data like a coupon code or a authentication token.
106-
pub token: String,
106+
pub token: Option<String>,
107107
/// The address where the LSP will send the funds if the order fails.
108108
pub refund_onchain_address: Option<Address<NetworkUnchecked>>,
109109
/// Indicates if the channel should be announced to the network.

0 commit comments

Comments
 (0)