fix cash-in-txs updating
This commit is contained in:
parent
fc33339997
commit
6a6075c120
3 changed files with 56 additions and 21 deletions
|
|
@ -44,15 +44,11 @@ function balance (settings, cryptoCode) {
|
|||
}
|
||||
|
||||
function sendCoins (settings, toAddress, cryptoAtoms, cryptoCode) {
|
||||
console.log('DEBUG40')
|
||||
return fetchWallet(settings, cryptoCode)
|
||||
.then(r => {
|
||||
console.log('DEBUG41')
|
||||
return r.wallet.sendCoins(r.account, toAddress, cryptoAtoms, cryptoCode)
|
||||
.then(res => {
|
||||
console.log('DEBUG42')
|
||||
mem.clear(module.exports.balance)
|
||||
console.log('DEBUG43: %j', res)
|
||||
return res
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue