fix blockcypher plugin

This commit is contained in:
Josh Harvey 2017-08-01 00:06:20 +02:00
parent 8fd2c1a7d1
commit e04ea6c796
2 changed files with 14 additions and 6 deletions

View file

@ -5,8 +5,7 @@ function authorize (account, toAddress, cryptoAtoms, cryptoCode) {
.then(() => {
if (cryptoCode !== 'BTC') throw new Error('Unsupported crypto: ' + cryptoCode)
const authorizedValue = 1e5 * 2
console.log('DEBUG300: %j', cryptoAtoms.lte(authorizedValue))
return cryptoAtoms.lte(authorizedValue)
const isAuthorized = true
return isAuthorized
})
}