lib/peatio/bitgo/hooks.rb in peatio-bitgo-1.0.1 vs lib/peatio/bitgo/hooks.rb in peatio-bitgo-1.1.0
- old
+ new
@@ -24,11 +24,11 @@
].join('\n').tap { |s| Kernel.abort s }
end
end
def register
- Peatio::Blockchain.registry[:bitgo] = Bitgo::Blockchain.new
- Peatio::Wallet.registry[:bitgo] = Bitgo::Wallet.new
+ Peatio::Blockchain.registry[:bitgo] = Bitgo::Blockchain
+ Peatio::Wallet.registry[:bitgo] = Bitgo::Wallet
end
end
if defined?(Rails::Railtie)
require "peatio/bitgo/railtie"