multi: Add tests to psbt and normal open channel flow.

Itests were added to the normal channel funding flow and the psbt
funding flow using unstable (unconfirmed sweeper inputs).
This commit is contained in:
ziggie
2024-04-02 19:32:50 +01:00
parent b954ee4c72
commit 351e9a68dd
8 changed files with 559 additions and 2 deletions

View File

@@ -556,6 +556,11 @@ func createTestFundingManager(t *testing.T, privKey *btcec.PrivateKey,
return nil, nil
},
AliasManager: aliasMgr,
// For unit tests we default to false meaning that no funds
// originated from the sweeper.
IsSweeperOutpoint: func(wire.OutPoint) bool {
return false
},
}
for _, op := range options {