Fix LGTM Warnings (#1069)

* Removed unused variable

* Improve Regex
This commit is contained in:
Milan Steiner 2022-03-02 18:26:57 +01:00 committed by GitHub
parent 6e41f377d5
commit 2b6e30d48a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,7 @@ export class FaucetClient {
} }
// Strip trailing / // Strip trailing /
const strippedBaseUrl = baseUrl.replace(/(\/)+$/, ""); const strippedBaseUrl = baseUrl.replace(/(\/+)$/, "");
this.baseUrl = strippedBaseUrl; this.baseUrl = strippedBaseUrl;
} }

View File

@ -9,7 +9,6 @@ const {
assertIsDeliverTxSuccess, assertIsDeliverTxSuccess,
SigningStargateClient, SigningStargateClient,
calculateFee, calculateFee,
GasPrice,
} = require("@cosmjs/stargate"); } = require("@cosmjs/stargate");
const rpcUrl = "http://localhost:26659"; const rpcUrl = "http://localhost:26659";