Closed t-bast closed 8 months ago
I couldn't find the explanation of the switch in MinimalNodeFixture from DummyOnChainWallet to SingleKeyOnChainWallet.
Right, that's because the DummyOnChainWallet
is overriding the makeFundingTx
function which is used for single-funded channels, but its override of the fundTransaction
function that is used for dual-funding is basically a no-op that returns the transaction as-is. This breaks dual funding entirely because it doesn't really return a funded transaction.
The SingleKeyOnChainWallet
is a better mock for an on-chain wallet that supports funding transactions, which makes it work for dual funding tests.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 85.93%. Comparing base (
fd0cdf6
) to head (e551ecf
).
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
And update the release notes.