Skip to content

Duplication error likely here #1

@Mushroomizer

Description

@Mushroomizer

double amount = Math.Min(tradeAmount*0.2d, walletBTC); // 不能超过账户余额

On this line of code, we instantiate amount btc, but we check withdraw balance of amount *0.2d.

This is leading to duplication of btc

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