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:
commit
eb18d47e8a
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ lbry.getCostInfoForName = function(name, callback) {
|
||||||
* - includes_data: Boolean; indicates whether or not the data fee info
|
* - includes_data: Boolean; indicates whether or not the data fee info
|
||||||
* from Lighthouse is included.
|
* from Lighthouse is included.
|
||||||
*/
|
*/
|
||||||
function getCostWithData(size, callback) {
|
function getCostWithData(name, size, callback) {
|
||||||
lbry.getTotalCost(name, size, (cost) => {
|
lbry.getTotalCost(name, size, (cost) => {
|
||||||
callback({
|
callback({
|
||||||
cost: cost,
|
cost: cost,
|
||||||
|
|
Loading…
Reference in a new issue