From 01a599f571e7ea3a7ad4f99101896a78e27cbf92 Mon Sep 17 00:00:00 2001 From: GloriousCode Date: Tue, 13 Sep 2016 17:38:37 +1000 Subject: [PATCH] Quick basic wallet interface implementation --- poloniexhttp.go | 2 +- web/app/app.js | 1 + web/app/index.html | 1 + web/app/views/wallets/wallets.html | 33 ++++++++++-------------------- web/app/views/wallets/wallets.js | 14 ++++++------- web/package.json | 14 ++++++------- 6 files changed, 27 insertions(+), 38 deletions(-) diff --git a/poloniexhttp.go b/poloniexhttp.go index c07fa501..e84fb272 100644 --- a/poloniexhttp.go +++ b/poloniexhttp.go @@ -1037,7 +1037,7 @@ func (e *Poloniex) GetExchangeAccountInfo() (ExchangeAccountInfo, error) { if err != nil { return response, err } - currencies := e.GetEnabledCurrencies() + currencies := e.AvailablePairs for i := 0; i < len(currencies); i++ { var exchangeCurrency ExchangeAccountCurrencyInfo exchangeCurrency.CurrencyName = currencies[i] diff --git a/web/app/app.js b/web/app/app.js index d3f7c4d0..4c94a076 100644 --- a/web/app/app.js +++ b/web/app/app.js @@ -5,6 +5,7 @@ angular.module('myApp', [ 'ngRoute', 'ui-notification', 'myApp.home', + 'myApp.wallets', 'myApp.about', 'myApp.settings', 'myApp.version' diff --git a/web/app/index.html b/web/app/index.html index 257a6d68..d6e47283 100644 --- a/web/app/index.html +++ b/web/app/index.html @@ -32,6 +32,7 @@