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

<NoMethodError: undefined method `[]' for nil:NilClass> #3042

Open
whatnowangga opened this issue Apr 30, 2022 · 1 comment
Open

<NoMethodError: undefined method `[]' for nil:NilClass> #3042

whatnowangga opened this issue Apr 30, 2022 · 1 comment

Comments

@whatnowangga
Copy link

Hi
how do i fix the error come from

{"level":"ERROR","time":"2022-04-29 14:31:53","message":"Failed to collect deposit 13. See exception details below."}
{"level":"ERROR","time":"2022-04-29 14:31:53","message":"#<NoMethodError: undefined method `[]' for nil:NilClass>"}
{"level":"ERROR","time":"2022-04-29 14:31:53","message":"
/home/app/app/services/wallet_service.rb:139:in `skip_deposit_collection?'\n
/home/app/app/services/wallet_service.rb:42:in `block in spread_deposit'\n
/opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/relation/delegation.rb:71:in `each'\n
/opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/relation/delegation.rb:71:in `each'\n
/home/app/app/services/wallet_service.rb:34:in `map'\n
/home/app/app/services/wallet_service.rb:34:in `spread_deposit'\n
/home/app/app/models/deposit.rb:145:in `spread_between_wallets!'\n
/home/app/app/workers/daemons/deposit.rb:48:in `process_deposit'\n
/home/app/app/workers/daemons/deposit.rb:35:in `block in process'\n
/opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/relation/delegation.rb:71:in `each'\n
/opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/relation/delegation.rb:71:in `each'\n
/home/app/app/workers/daemons/deposit.rb:10:in `process'\n
/home/app/app/workers/daemons/base.rb:25:in `run'\nlib/daemons/daemons.rb:21:in `<main>'"}

im using peatio 2.6.48

@behnammby
Copy link

Hi
Recofigure your wallet, I mean from tower, do verify that secrets and other settings is specified. This happens when some settings in wallet configuration is missing.

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

2 participants