Fix build

This commit is contained in:
Łukasz Magiera 2021-02-05 21:58:36 +01:00
parent cfa73f34e4
commit 1b65f48808

View File

@ -134,9 +134,9 @@ func (p *DealPublisher) PendingDeals() api.PendingDealInfo {
}
}
pending := make([]market2.ClientDealProposal, len(deals))
pending := make([]*market2.ClientDealProposal, len(deals))
for i, deal := range deals {
pending[i] = deal.deal
pending[i] = &deal.deal
}
return api.PendingDealInfo{