|
1 | 1 | /// This is the main user configuration
|
2 | 2 | /// This struct should contain all user customizable options as this is passed to the channel to be accessed
|
3 |
| -#[derive(Copy, Clone, Debug)] |
| 3 | +#[derive(Copy, Clone, Debug)] |
4 | 4 | pub struct UserConfigurations{
|
5 | 5 | /// optional user spesefied channel limits
|
6 | 6 | /// These should stay the same for a channel and cannot change during the life of a channel
|
@@ -54,15 +54,15 @@ impl ChannelLimits {
|
54 | 54 | #[derive(Copy, Clone, Debug)]
|
55 | 55 | pub struct ChannelOptions{
|
56 | 56 | /// Amount (in millionths of a satoshi) channel will charge per transferred satoshi.
|
57 |
| - pub fee_proportional_millionths : u32, |
| 57 | + pub fee_proportional_millionths : u32, |
58 | 58 | ///should we require the channel be annouced or not
|
59 | 59 | pub annouce_channel : bool,
|
60 | 60 | ///do we allow incomming channel to be announced
|
61 | 61 | pub allow_annouce_channel : bool,
|
62 | 62 | }
|
63 | 63 | impl ChannelOptions {
|
64 |
| - /// creating a struct with values. |
65 |
| - /// fee_proportional_millionths should be changed afterwords |
| 64 | + /// creating a struct with values. |
| 65 | + /// fee_proportional_millionths should be changed afterwords |
66 | 66 | pub fn new() -> Self{
|
67 | 67 | ChannelOptions {
|
68 | 68 | fee_proportional_millionths : 0,
|
|
0 commit comments