fix(paychmr): decode address correctly, pass wallet

This commit is contained in:
hannahhoward
2020-02-28 19:26:33 -08:00
parent 0d7afef0c5
commit bda5315866
4 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ func (a *API) ClientFindData(ctx context.Context, root cid.Cid) ([]api.QueryOffe
MinPrice: queryResponse.PieceRetrievalPrice(),
PaymentInterval: queryResponse.MaxPaymentInterval,
PaymentIntervalIncrease: queryResponse.MaxPaymentIntervalIncrease,
Miner: p.Address, // TODO: check
Miner: queryResponse.PaymentAddress, // TODO: check
MinerPeerID: p.ID,
}
}