chainregistry+lnd: moving chainregistry+chainparams to new package

This commit is contained in:
Eugene authored and eugene committed 2020-10-29 15:24:14 -04:00
1 parent 46ef212de4
commit bebe258e2d
15 files changed
+783 -763

No files matched your search

+2 -2
View File
@@ -271,7 +271,7 @@ func createTestWallet(cdb *channeldb.DB, netParams *chaincfg.Params,
ChainIO: bio,
FeeEstimator: estimator,
NetParams: *netParams,
DefaultConstraints: DefaultBtcChannelConstraints,
DefaultConstraints: chainreg.DefaultBtcChannelConstraints,
})
if err != nil {
return nil, err
@@ -437,7 +437,7 @@ func createTestFundingManager(t *testing.T, privKey *btcec.PrivateKey,
NotifyOpenChannelEvent: evt.NotifyOpenChannelEvent,
OpenChannelPredicate: chainedAcceptor,
NotifyPendingOpenChannelEvent: evt.NotifyPendingOpenChannelEvent,
RegisteredChains: NewChainRegistry(),
RegisteredChains: chainreg.NewChainRegistry(),
}
for _, op := range options {