mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
In this commit, the sanity checks in the CommitConstraints method is moved out into a helper function called VerifyConstraints. This is done so that the sanity checks can be performed more easily else where in the code base. The new helper method is then called in the handleInitFundingMsg method of the funding manager before the OpenChannelMessage is sent. |
||
---|---|---|
.. | ||
batch.go | ||
batch_test.go | ||
commitment_type_negotiation.go | ||
commitment_type_negotiation_test.go | ||
interfaces.go | ||
log.go | ||
manager.go | ||
manager_test.go |