Merge pull request #112 from lbryio/fix-lighthouse-logic

Add a missing param to an inner function in lbry.getCostInfoForName()
This commit is contained in:
alexliebowitz 2016-12-29 04:59:02 -05:00 committed by GitHub
commit eb18d47e8a

View file

@ -207,7 +207,7 @@ lbry.getCostInfoForName = function(name, callback) {
* - includes_data: Boolean; indicates whether or not the data fee info
* from Lighthouse is included.
*/
function getCostWithData(size, callback) {
function getCostWithData(name, size, callback) {
lbry.getTotalCost(name, size, (cost) => {
callback({
cost: cost,