diff --git a/js/lbry.js b/js/lbry.js index bd9fd8c03..ca9fde1e5 100644 --- a/js/lbry.js +++ b/js/lbry.js @@ -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,