f-prime / f-prime/zCoin

Error running coins command in 0.2.0

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
48
Forks
12
PR merge metrics
No merged PRs in 30d

Description

I'm getting the error:
Traceback (most recent call last):
File "shell.py", line 76, in
zc().cmdloop()
File "/Users/arknw229/anaconda/lib/python2.7/cmd.py", line 142, in cmdloop
stop = self.onecmd(line)
File "/Users/arknw229/anaconda/lib/python2.7/cmd.py", line 221, in onecmd
return func(arg)
File "shell.py", line 29, in do_coins
addr = config.wallet.find("data", "all")[0]
TypeError: 'bool' object has no attribute '**getitem**'

when attempting to run the coins command in the shell in the new update

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in shell.py at do_coins, line 29, and reproduce the coins command under the reported 0.2.0 setup. Trace the value returned by config.wallet.find("data", "all") and compare it with the indexing at that line. Done means the coins command completes without the reported TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.