fix: zcash getTxHashesByAddress return value

This commit is contained in:
José Oliveira 2022-07-20 11:31:49 +01:00
parent 71212d8cd1
commit baf95b1e7c

View file

@ -154,7 +154,7 @@ function checkBlockchainStatus (cryptoCode) {
function getTxHashesByAddress (cryptoCode, address) {
checkCryptoCode(cryptoCode)
.then(() => fetch('getaddresstxids', [address]))
.then(_.mapKeys(() => 'txid'))
.then(_.values)
}
module.exports = {