Use new API method name in lbry.getPeersForBlobHash()

This commit is contained in:
Alex Liebowitz 2017-01-23 23:18:01 -05:00
parent 13886f4156
commit 3c339492a0

View file

@ -190,7 +190,7 @@ lbry.getTotalCost = function(name, size, callback) {
}
lbry.getPeersForBlobHash = function(blobHash, callback) {
lbry.call('get_peers_for_hash', { blob_hash: blobHash }, callback)
lbry.call('peer_list', { blob_hash: blobHash }, callback);
}
lbry.getCostInfoForName = function(name, callback) {