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

Undefined method balance for CoinAPI::BitGo #418

Closed
yivo opened this issue Jan 31, 2018 · 1 comment
Closed

Undefined method balance for CoinAPI::BitGo #418

yivo opened this issue Jan 31, 2018 · 1 comment

Comments

@yivo
Copy link

yivo commented Jan 31, 2018

/home/app/app/models/currency.rb:65:in `refresh_balance': undefined method `balance' for #<CoinAPI::BitGo:0x000055f8d1cb9948> (NoMethodError)
  from lib/daemons/hot_wallets.rb:9:in `process'
  from lib/daemons/hot_wallets.rb:21:in `block (2 levels) in <main>'
  from lib/daemons/hot_wallets.rb:21:in `each'
  from lib/daemons/hot_wallets.rb:21:in `block in <main>'
  from lib/daemons/hot_wallets.rb:19:in `tap'
  from lib/daemons/hot_wallets.rb:19:in `<main>'

Please change balance to load_balance at app/models/currency.rb

@yivo
Copy link
Author

yivo commented Feb 1, 2018

Fixed in #419.

@yivo yivo closed this as completed Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant