Commit 413a2a5a by ken

balance

parent 6384b55c
...@@ -61,7 +61,6 @@ const _subscribe = function(callback, opened_callback = false) { ...@@ -61,7 +61,6 @@ const _subscribe = function(callback, opened_callback = false) {
function subscribe() { function subscribe() {
_subscribe((data) => { _subscribe((data) => {
if (data.channel === accountInfoChannel) { if (data.channel === accountInfoChannel) {
console.log(data);
const coins = data.data.coins; const coins = data.data.coins;
const balances = {}; const balances = {};
for (const coin of coins) { for (const coin of coins) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment