fix: zcash version
This commit is contained in:
parent
d78e7bb18c
commit
5c18dbca9a
2 changed files with 1 additions and 9 deletions
|
|
@ -31,7 +31,7 @@ const BINARIES = {
|
||||||
dir: 'geth-linux-amd64-1.10.17-25c9b49f'
|
dir: 'geth-linux-amd64-1.10.17-25c9b49f'
|
||||||
},
|
},
|
||||||
ZEC: {
|
ZEC: {
|
||||||
url: 'https://download.z.cash/downloads/zcash-4.7.0-linux64-debian-bullseye.tar.gz',
|
url: 'https://z.cash/downloads/zcash-5.0.0-linux64-debian-bullseye.tar.gz',
|
||||||
dir: 'zcash-4.7.0/bin'
|
dir: 'zcash-4.7.0/bin'
|
||||||
},
|
},
|
||||||
DASH: {
|
DASH: {
|
||||||
|
|
|
||||||
|
|
@ -91,14 +91,6 @@ function sendCoins (account, tx, settings, operatorId) {
|
||||||
.catch(errorHandle)
|
.catch(errorHandle)
|
||||||
}
|
}
|
||||||
|
|
||||||
function defaultAddress (account, info, tx, settings, operatorId) {
|
|
||||||
return checkCryptoCode(info.cryptoCode)
|
|
||||||
.then(() => fetch('z_listaccounts'))
|
|
||||||
.then(accountsRes => _.isEmpty(accountsRes) ? fetch('z_getnewaccount') : Promise.resolve(_.first(accountsRes)))
|
|
||||||
.then(account => fetch('z_getaddressforaccount', [account.account, [], 0]))
|
|
||||||
.then(res => res.address)
|
|
||||||
}
|
|
||||||
|
|
||||||
function newAddress (account, info, tx, settings, operatorId) {
|
function newAddress (account, info, tx, settings, operatorId) {
|
||||||
return checkCryptoCode(info.cryptoCode)
|
return checkCryptoCode(info.cryptoCode)
|
||||||
.then(() => fetch('getnewaddress'))
|
.then(() => fetch('getnewaddress'))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue