tests: cleanup of fundingmanager_test.go
This commit cleans the fundingManager tests by extracting most of the common code from the different test cases into assert methods, making the test cases easier to follow and distinguish. It also adds a new test for the case where the peer goes offline, and the fundingManager must wait for it to come online before it can send the fundingLocked message and continue the funding flow.
This commit is contained in:
1 file changed
+328
-911
+328
-911
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user