Skip to content

Can't set max_market_fee to 0 in create_asset #303

@christophersanborn

Description

@christophersanborn

In BitShares().create_asset(), at

if not max_market_fee:

if not max_market_fee:
    max_market_fee = max_supply

Should probably be:

if max_market_fee is None:
    max_market_fee = max_supply

Because if I pass in max_market_fee=0, the existing conditional evaluates true and overrides my explicit zero.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions