Skip to content
This repository was archived by the owner on Mar 15, 2024. It is now read-only.
This repository was archived by the owner on Mar 15, 2024. It is now read-only.

bet command causes unorderable types error in the API #103

@unsystemizer

Description

@unsystemizer

I don't know why this doesn't work, I may troubleshoot later.

bet --source n4D7ndiC4yLZxhAf726uMHXC914sEuUAcg --feed-address mu3FsSTC12dHvUoxr2eEfjmheGRBQZZAdC --bet-type Equal --deadline 2016-12-30T21:39:00-0500 --wager 0.001 --counterwager 0.002 --target-value 1 --expiration 10

Version: counterparty-client v1.1.2; counterparty-lib v9.55.1

Error:

ERROR:root:Unhandled Exception
Traceback (most recent call last):
  File "/usr/local/bin/counterparty-client", line 11, in <module>
    load_entry_point('counterparty-cli==1.1.2', 'console_scripts', 'counterparty-client')()
  File "/usr/local/lib/python3.5/dist-packages/counterpartycli/__init__.py", line 12, in client_main
    client.main()
  File "/usr/local/lib/python3.5/dist-packages/counterpartycli/client.py", line 364, in main
    unsigned_hex = messages.compose(args.action, args)
  File "/usr/local/lib/python3.5/dist-packages/counterpartycli/messages.py", line 278, in compose
    return compose_transaction(args, message, param_names)
  File "/usr/local/lib/python3.5/dist-packages/counterpartycli/messages.py", line 269, in compose_transaction
    unsigned_tx_hex = util.api(method, params)
  File "/usr/local/lib/python3.5/dist-packages/counterpartycli/util.py", line 92, in api
    return rpc(config.COUNTERPARTY_RPC, method, params=params, ssl_verify=config.COUNTERPARTY_RPC_SSL_VERIFY)
  File "/usr/local/lib/python3.5/dist-packages/counterpartycli/util.py", line 89, in rpc
    raise RPCError('{}'.format(response_json['error']))
counterpartycli.util.RPCError: {'message': 'Server error', 'code': -32000, 'data': {'message': 'unorderable types: int() < NoneType()', 'args': ['unorderable types: int() < NoneType()'], 'type': 'APIError'}}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions