v12.0.0 - initial commit
This commit is contained in:
commit
e2c49ea43c
1145 changed files with 97211 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
module.exports = { authorize }
|
||||
|
||||
function authorize(account, toAddress, cryptoAtoms, cryptoCode) {
|
||||
return Promise.resolve().then(() => {
|
||||
if (cryptoCode !== 'BTC')
|
||||
throw new Error('Unsupported crypto: ' + cryptoCode)
|
||||
|
||||
const isAuthorized = false
|
||||
return isAuthorized
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue