Seed Support #56

Closed
ocnios wants to merge 173 commits from master into build
Showing only changes of commit d3258d9de6 - Show all commits

View file

@ -247,8 +247,8 @@ lbry.getCostInfo = function(lbryUri, callback, errorCallback) {
throw new Error(`URI required.`);
}
function getCostWithData(name, size, callback, errorCallback) {
lbry.stream_cost_estimate({name, size}).then((cost) => {
function getCostWithData(lbryUri, size, callback, errorCallback) {
lbry.stream_cost_estimate({uri: lbryUri, size}).then((cost) => {
callback({
cost: cost,
includesData: true,
@ -256,8 +256,8 @@ lbry.getCostInfo = function(lbryUri, callback, errorCallback) {
}, errorCallback);
}
function getCostNoData(name, callback, errorCallback) {
lbry.stream_cost_estimate({name}).then((cost) => {
function getCostNoData(lbryUri, callback, errorCallback) {
lbry.stream_cost_estimate({uri: lbryUri}).then((cost) => {
callback({
cost: cost,
includesData: false,