We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b5dac3 commit 32bb8f2Copy full SHA for 32bb8f2
Readme.md
@@ -78,7 +78,7 @@ If you would like to pay fees in cUSD, set the gas price manually:
78
stable_token = kit.base_wrapper.create_and_get_contract_by_name('StableToken')
79
gas_price_contract = kit.base_wrapper.create_and_get_contract_by_name('GasPriceMinimum')
80
gas_price_minimum = gas_price_contract.get_gas_price_minimum(stable_token.address)
81
-gas_price = gas_price_minimum * 1.3 # Wiggle room if gas price minimum changes before tx is sent
+gas_price = int(gas_price_minimum * 1.3) # Wiggle room if gas price minimum changes before tx is sent
82
kit.wallet_fee_currency = stable_token.address # Default to paying fees in cUSD
83
kit.wallet_gas_price = gas_price
84
0 commit comments