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

Incorrect hooks init in v2.4.0 #74

Open
martianatwork opened this issue Sep 11, 2020 · 0 comments
Open

Incorrect hooks init in v2.4.0 #74

martianatwork opened this issue Sep 11, 2020 · 0 comments

Comments

@martianatwork
Copy link

In peatio blockchain_service
we are initializing the service on line 10
https://github.com/openware/peatio/blob/af5ee076b8855bbe505d676ce14efb4603c17b97/app/services/blockchain_service.rb#L10

But in the hooks we are initializing them as well Blockchain & Wallet.

Peatio::Blockchain.registry[:bitcoincash] = Bitcoincash::Blockchain.new

This is causing issue (obviously) as we are initializing the service twice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant