deposit: add bsc-bep20 to the case

This commit is contained in:
c9s 2024-11-15 23:49:29 +08:00
parent abd41c98de
commit b75e4d83e9
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -195,7 +195,8 @@ func getExplorerURL(network string, txID string) string {
switch strings.ToUpper(network) { switch strings.ToUpper(network) {
case "BTC": case "BTC":
return getBitcoinNetworkExplorerURL(txID) return getBitcoinNetworkExplorerURL(txID)
case "BSC": case "BSC", "BSC-BEP20":
// MAX uses "BSC-BEP20"
return getBscNetworkExplorerURL(txID) return getBscNetworkExplorerURL(txID)
case "ETH", "ETHEREUM": case "ETH", "ETHEREUM":
// binance uses "ETH" // binance uses "ETH"