mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
Fix Ethereum network for anonpay invoice (#1051)
This commit is contained in:
parent
9ddab2b472
commit
5556d9ef96
2 changed files with 3 additions and 0 deletions
|
@ -182,6 +182,8 @@ class AnonPayApi {
|
|||
switch (currency) {
|
||||
case CryptoCurrency.usdt:
|
||||
return CryptoCurrency.btc.title.toLowerCase();
|
||||
case CryptoCurrency.eth:
|
||||
return 'ERC20';
|
||||
default:
|
||||
return currency.tag != null ? _normalizeTag(currency.tag!) : 'Mainnet';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue