Skip to content

Incorrect hooks init in v2.4.0 #74

Description

@martianatwork

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!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions