Skip to content

prepare_transaction doesn't handle fee parameter equal to 0 correctly #90

@ManFromSiberia

Description

@ManFromSiberia

When the fee parameter is set to zero in the function prepare_transaction, it processes it like None, so the bit tries to predict fee by itself, but the expected behavior is that the fee of prepared transaction will be 0.

Reason:
I need this function to calculate inputs and outputs, and I calculate the fee myself, so there are situations when there are 100,000 satoshi on the address and I want to create a transaction with this amount an error occurs that there is not enough money on the address.

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