Skip to content

Commit c42e57d

Browse files
committed
**HACKY COMMIT** - remove dust limit check
This is just so I can test on mainchain without spending too much money. This commit should never make into the real code.
1 parent 624c130 commit c42e57d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/DotNetLightning.Core/Channel/ChannelError.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,8 @@ module internal OpenChannelMsgValidation =
384384
check
385385
ourChannelReserve (<) msg.DustLimitSatoshis
386386
"Dust limit too high for our channel reserve. our channel reserve is: %A . received dust_limit is: %A"
387-
Validation.ofResult(check1) *^> check2 *^> check3
387+
//Validation.ofResult(check1) *^> check2 *^> check3
388+
Validation.ofResult(check2) *^> check3
388389

389390
let checkIfFundersAmountSufficient (feeEst: IFeeEstimator) msg =
390391
let fundersAmount = LNMoney.Satoshis(msg.FundingSatoshis.Satoshi) - msg.PushMSat

0 commit comments

Comments
 (0)