Use new API method name in lbry.getPeersForBlobHash()
This commit is contained in:
parent
13886f4156
commit
3c339492a0
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue