Merge pull request #2834 from filecoin-project/feat/fund-manager-fix

Improve Fund Manager
This commit is contained in:
Łukasz Magiera
2020-08-06 16:45:05 +02:00
committed by GitHub
5 changed files with 510 additions and 48 deletions
+3 -1
View File
@@ -5,6 +5,8 @@ import (
"errors"
"time"
"github.com/filecoin-project/lotus/markets/dealfilter"
logging "github.com/ipfs/go-log"
ci "github.com/libp2p/go-libp2p-core/crypto"
"github.com/libp2p/go-libp2p-core/host"
@@ -276,7 +278,7 @@ func Online() Option {
Override(new(*paychmgr.Store), paychmgr.NewStore),
Override(new(*paychmgr.Manager), paychmgr.NewManager),
Override(new(*market.FundMgr), market.NewFundMgr),
Override(new(*market.FundMgr), market.StartFundManager),
Override(SettlePaymentChannelsKey, settler.SettlePaymentChannels),
),