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

Can not explore existing account if it have not any outgoing transactions #238

SaveTheAles opened this issue Feb 7, 2019 · 1 comment


Copy link

commented Feb 7, 2019

docker exec cyberd cyberdcli query account cyber18pyqwgl6vse5485vuqedr2sd7uuzcy6c8g4dp7

looking for account info, but

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

goroutine 1 [running]:, 0x14, 0x14, 0xc00093f640, 0x1, 0x1, 0x0, 0x0, 0x204e4, 0x0, ...)
	/root/go/pkg/mod/ +0x3f, 0xc000a22c00, 0x10491c0, 0xc0009e1bc0, 0x1034260, 0xc0000a4008, 0xe0c442, 0x4, 0x0, 0xe1b6ab, ...)
	/root/go/pkg/mod/ +0x253, 0xc000a22360, 0x1, 0x1, 0x0, 0x0)
	/root/go/pkg/mod/ +0x320*Command).execute(0xc0009fa6c0, 0xc000a22330, 0x1, 0x1, 0xc0009fa6c0, 0xc000a22330)
	/root/go/pkg/mod/ +0x47a*Command).ExecuteC(0xc0001ad680, 0x24, 0xc000a1c2ac, 0xe23742)
	/root/go/pkg/mod/ +0x2dc*Command).Execute(0xc0001ad680, 0x1, 0xc00000ea10)
	/root/go/pkg/mod/ +0x2b, 0xf7b9c8, 0x3, 0xc000a1c2c0)
	/root/go/pkg/mod/ +0x4e
	/sources/cli/main.go:71 +0x4dd

This comment has been minimized.

Copy link

commented Mar 1, 2019

Fixed in the last update. Now, cli return next output for such addresses:

ERROR: No account with address cyber18nqsthf0flyahlwwtsjwdne34jf7n4yhwcrdyz was found in the state.
Are you sure there has been a transaction involving it?

@hleb-albau hleb-albau closed this Mar 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.