mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
parent
6e41f377d5
commit
2b6e30d48a
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user