Revert "fix: remove coins not supported by ciphertrace"
This reverts commit e798be94ae.
This commit is contained in:
parent
e798be94ae
commit
71212d8cd1
3 changed files with 12 additions and 3 deletions
|
|
@ -152,7 +152,9 @@ function checkBlockchainStatus (cryptoCode) {
|
|||
}
|
||||
|
||||
function getTxHashesByAddress (cryptoCode, address) {
|
||||
throw new Error(`Transactions hash retrieval is not implemented for this coin!`)
|
||||
checkCryptoCode(cryptoCode)
|
||||
.then(() => fetch('getaddresstxids', [address]))
|
||||
.then(_.mapKeys(() => 'txid'))
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue