jgarzik / jgarzik/python-bitcoinrpc

TypeError: string indices must be integers

Open
#74 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
663
Forks
300
PR merge metrics
No merged PRs in 30d

Description

Hi,

Getting errors on the batch example. This is in Python 2.7.

```
>>> commands = [ [ "getblockhash", height] for height in range(100) ]
>>> block_hashes = rpc_connection.batch_(commands)
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/bitcoinrpc/authproxy.py", line 169, in batch_
if response['error'] is not None:
TypeError: string indices must be integers

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.