Open adklempner opened 4 years ago
In flow Contract Wallet Flow, function node Purchase Eth, the Wyre account ID is hardcoded on line 4:
Contract Wallet Flow
Purchase Eth
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:
wyre_account_id
wyreLink = `${wyreLink}?destCurrency=ETH&dest=${msg.payload.user.account.fields.account_address}&accountId=${global.get('wyre_account_id')}`
Hi! I'm participating in DAO Hack Month and would like to resolve that issue as a part of my project, it is ok? The project is aiming to propose additional features and some improvements of dao-help
In flow
Contract Wallet Flow
, function nodePurchase Eth
, the Wyre account ID is hardcoded on line 4:Instead, it should use the global variable
wyre_account_id
: