This commit is contained in:
Josh Harvey 2017-06-24 18:52:55 +03:00
parent 45e6e2b82d
commit 2779dcd6f3
5 changed files with 34 additions and 20 deletions

View file

@ -20,6 +20,7 @@ function fetchExchange (settings, cryptoCode) {
}
function buy (settings, cryptoAtoms, fiatCode, cryptoCode) {
console.log('DEBUG600')
return fetchExchange(settings, cryptoCode)
.then(r => r.exchange.buy(r.account, cryptoAtoms, fiatCode, cryptoCode))
}