From 3c339492a099bdd1d9405d158a3d3dce3a53d680 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Mon, 23 Jan 2017 23:18:01 -0500 Subject: [PATCH] Use new API method name in lbry.getPeersForBlobHash() --- js/lbry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/lbry.js b/js/lbry.js index 96965ec99..fa73f854c 100644 --- a/js/lbry.js +++ b/js/lbry.js @@ -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) {