Skip to content

Commit

Permalink
Merge pull request #802 from textileio/jsign/fxpr
Browse files Browse the repository at this point in the history
reptop: use correct price
  • Loading branch information
jsign committed Mar 16, 2021
2 parents affb6ef + c9e6f2a commit 149e27b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffs/minerselector/reptop/reptop.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,6 @@ func (rt *RepTop) getMinerProposal(f ffs.MinerSelectorFilter, addrStr string) (f
return ffs.MinerProposal{}, fmt.Errorf("miner doesn't satisfy piece size constraints: %d<%d<%d", r.Ask.MinPieceSize, f.PieceSize, r.Ask.MaxPieceSize)
}

return ffs.MinerProposal{Addr: addrStr, EpochPrice: r.Ask.Price.Uint64()}, nil
return ffs.MinerProposal{Addr: addrStr, EpochPrice: price}, nil
}
}

0 comments on commit 149e27b

Please sign in to comment.