This commit is contained in:
Josh Harvey 2016-11-27 20:14:36 +02:00
parent 00d986376e
commit 7bb071fc95
3 changed files with 29 additions and 28 deletions

View file

@ -18,7 +18,7 @@ function fetchWallet (cryptoCode) {
function balance (cryptoCode) {
return fetchWallet(cryptoCode)
.then(r => r.wallet.balance(r.account))
.then(r => r.wallet.balance(r.account, cryptoCode))
.then(balance => ({balance, timestamp: Date.now()}))
}