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

invalid memory address or nil pointer dereference #5

Open
options2015 opened this issue Aug 19, 2024 · 0 comments
Open

invalid memory address or nil pointer dereference #5

options2015 opened this issue Aug 19, 2024 · 0 comments

Comments

@options2015
Copy link

Hi,

I am getting this error running the main branch. I have .evn file with the required data.

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xdf147a]

goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1.(*PrivKey).PubKey(0x0?)
        /root/go/pkg/mod/github.com/osmosis-labs/[email protected]/crypto/keys/secp256k1/secp256k1.go:40 +0x1a
github.com/osmosis-labs/arb-bot/src.GetOsmosisBTCUSDTBalance({{0x0, 0x0}, 0x0, {{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, 0x0}, ...})
        /root/arb-bot/src/osmosis.go:110 +0x32
github.com/osmosis-labs/arb-bot/src.GetTotalBalance({{0x0, 0x0}, 0x0, {{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, 0x0}, ...})
        /root/arb-bot/src/arb.go:113 +0x98
github.com/osmosis-labs/arb-bot/src.CheckArbitrage({{0x0, 0x0}, 0x0, {{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, 0x0}, ...})
        /root/arb-bot/src/arb.go:12 +0xd9
main.runArbitrageCheck(...)
        /root/arb-bot/main.go:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant