Skip to content

pushtx error #189

@quinnoaj

Description

@quinnoaj

after constructing my code to push a transaction in to the network

I run pushtx(txt)

then I got this error:

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/site-packages/bitcoin-1.1.42-py2.7.egg/bitcoin/bci.py", line 311, in pushtx return f(*args) File "/usr/local/lib/python2.7/site-packages/bitcoin-1.1.42-py2.7.egg/bitcoin/bci.py", line 261, in bci_pushtx if not re.match('^[0-9a-fA-F]*$', tx): File "/usr/local/lib/python2.7/re.py", line 141, in match return _compile(pattern, flags).match(string) TypeError: expected string or buffer

Could it be there are problems with the serialize values?
By the way may private key is in base58(51 characters) format is it related with the error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions