When connecting to a non existing rpc node, it stills says "connected"
Open
task
- Dominant language
- Go
- Stars
- 7
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
I connect to a non-existing RPC node:
```
(online) (locked) > connect http://1.1.1.1
Connected to endpoint http://1.1.1.1
(online) (locked) >
```
and when executing the balance operation on an adress cointining 100 tKOIN it says 0 tKOIN
```
(online) (locked) > balance 1GpiVENXZmTukU7DzABAsDfpf9HAwkfjvJ
0 tKOIN
(online) (locked)
```
Contributor guide
Research direction
The issue names no files or tests; start at the CLI entry points for the connect and balance commands and reproduce the non-existent endpoint case. Done means a failed connection is not reported as connected and the balance command does not present a misleading zero result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100