mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
faucet: Pass fees config to stargate client
This commit is contained in:
parent
97e3f81ab0
commit
52f7d7a07c
@ -43,7 +43,10 @@ export async function createClients(
|
||||
> => [
|
||||
senderAddress,
|
||||
isOfflineDirectSigner(wallet)
|
||||
? await SigningStargateClient.connectWithWallet(apiUrl, wallet, {})
|
||||
? await SigningStargateClient.connectWithWallet(apiUrl, wallet, {
|
||||
gasLimits: constants.gasLimits,
|
||||
gasPrice: constants.gasPrice,
|
||||
})
|
||||
: new SigningCosmosClient(apiUrl, senderAddress, wallet, constants.gasPrice, constants.gasLimits),
|
||||
],
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user