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

"listunspent" JSONRPCException: Method not found (-32601) #12

Closed
jjz opened this issue Oct 11, 2018 · 4 comments
Closed

"listunspent" JSONRPCException: Method not found (-32601) #12

jjz opened this issue Oct 11, 2018 · 4 comments

Comments

@jjz
Copy link
Member

jjz commented Oct 11, 2018

{"version": "1.1", "method": "listunspent", "params": [], "id": 53}
2018-10-10 23:21:13.676000 TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
File "...../copernet/walle/test_framework/test_framework.py", line 132, in main
self.run_test()
File "....../copernet/walle/pruning.py", line 393, in run_test
self.create_big_chain()
File ".../copernet/walle/pruning.py", line 74, in create_big_chain
mine_big_block(self.nodes[0], self.utxo_cache_0)
File "..../copernet/walle/test_framework/blocktools.py", line 148, in mine_big_block
utxos.extend(node.listunspent())
File "...../copernet/walle/test_framework/coverage.py", line 48, in call
return_val = self.auth_service_proxy_instance.call(*args, **kwargs)
File "...../copernet/walle/test_framework/authproxy.py", line 151, in call
raise JSONRPCException(response['error'])
test_framework.authproxy.JSONRPCException: Method not found (-32601)

@whitefen
Copy link
Member

It is a wallet RPC, and it needs to fetch available coins from wallet. RPC for wallet are not registered now.

@jjz
Copy link
Member Author

jjz commented Oct 13, 2018

@whitefen Did you add that?

@whitefen
Copy link
Member

No, wallet function was not implemented

@whitefen
Copy link
Member

copernet/copernicus@961d4c0
done

@jjz jjz closed this as completed Oct 31, 2018
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

2 participants