Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdequateCryptoAddress::UnknownCurrency: Wrong currency btc #5

Closed
doug420 opened this issue Sep 23, 2020 · 1 comment
Closed

AdequateCryptoAddress::UnknownCurrency: Wrong currency btc #5

doug420 opened this issue Sep 23, 2020 · 1 comment

Comments

@doug420
Copy link

doug420 commented Sep 23, 2020

AdequateCryptoAddress.valid?('12QeMLzSrB8XH8FvEzPMVoRxVAzTr5XM2y', 'BTC')
Any response on that? why i am facing this issue while having testing btc testnet!
errors.add(:address, 'invalid address') unless AdequateCryptoAddress.valid?(address, currency)

@vtm9
Copy link
Owner

vtm9 commented Mar 22, 2021

Sorry, it works fine for me

➜  adequate_crypto_address git:(master)  bin/console
[1] pry(main)> AdequateCryptoAddress.valid?('12QeMLzSrB8XH8FvEzPMVoRxVAzTr5XM2y', 'BTC')
=> true

@vtm9 vtm9 closed this as completed Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants