Updated on 2026-08-14
This commit is contained in:
commit
16533c86bb
1 changed files with 1 additions and 9 deletions
|
|
@ -531,15 +531,7 @@ public class BinanceAssetEngine extends CoinEngine {
|
|||
|
||||
private void checkFee(BlockchainRequestsCallbacks blockchainRequestsCallbacks) {
|
||||
try {
|
||||
String baseUrl;
|
||||
|
||||
if (ctx.getBlockchain() == Blockchain.Binance) {
|
||||
baseUrl = Server.ApiBinance.Method.API_V1;
|
||||
} else if (ctx.getBlockchain() == Blockchain.BinanceTestNet) {
|
||||
baseUrl = Server.ApiBinanceTestnet.Method.API_V1;
|
||||
} else {
|
||||
throw new Exception("Invalid blockchain for BinanceEngine");
|
||||
}
|
||||
String baseUrl = Server.ApiBinance.Method.API_V1;
|
||||
|
||||
Retrofit retrofitBinance = new Retrofit.Builder()
|
||||
.baseUrl(baseUrl)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue