WIPP
This commit is contained in:
parent
00d986376e
commit
7bb071fc95
3 changed files with 29 additions and 28 deletions
|
|
@ -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()}))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue