fix up zero-conf

This commit is contained in:
Josh Harvey 2017-05-21 19:01:38 +01:00
parent 23458b6b56
commit c78519072b
6 changed files with 4205 additions and 180 deletions

View file

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