Skip to content

Commit

Permalink
Fix channel
Browse files Browse the repository at this point in the history
  • Loading branch information
223880 committed Jun 24, 2024
1 parent c635a7c commit 9631c19
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions lib/lightning/channelconfig.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,21 @@ const ChannelConfig({
required this.forceCloseAvoidanceMaxFeeSatoshis,
required this.acceptUnderpayingHtlcs,
});

class ChannelConfigBuilder {
late int forwardingFeeProportionalMillionths;
late int forwardingFeeBaseMsat;
late int cltvExpiryDelta;
late int maxDustHtlcExposure;
late int forceCloseAvoidanceMaxFeeSatoshis;
late bool acceptUnderpayingHtlcs;
}

ChannelConfigBuilder({
required this.forwardingFeeProportionalMillionths,
required this.forwardingFeeBaseMsat,
required this.cltvExpiryDelta,
required this.maxDustHtlcExposure,
required this.forceCloseAvoidanceMaxFeeSatoshis,
required this.acceptUnderpayingHtlcs,
});

0 comments on commit 9631c19

Please sign in to comment.