Skip to content

Wyre Account ID is hardcoded #8

@adklempner

Description

@adklempner

In flow Contract Wallet Flow, function node Purchase Eth, the Wyre account ID is hardcoded on line 4:

wyreLink =  `${wyreLink}?destCurrency=ETH&dest=${msg.payload.user.account.fields.account_address}&accountId=AC_8MAWQ88LVEA`

Instead, it should use the global variable wyre_account_id:

wyreLink =  `${wyreLink}?destCurrency=ETH&dest=${msg.payload.user.account.fields.account_address}&accountId=${global.get('wyre_account_id')}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions