File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
Thirdweb/Thirdweb.Transactions Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -298,12 +298,6 @@ public static async Task<BigInteger> EstimateGasLimit(ThirdwebTransaction transa
298298 var hex = ( await rpc . SendRequestAsync < JToken > ( "zks_estimateFee" , transaction . Input ) . ConfigureAwait ( false ) ) [ "gas_limit" ] . ToString ( ) ;
299299 return new HexBigInteger ( hex ) . Value * 10 / 5 ;
300300 }
301-
302- if ( transaction . _wallet . AccountType == ThirdwebAccountType . SmartAccount )
303- {
304- var smartAccount = transaction . _wallet as SmartWallet ;
305- return await smartAccount . EstimateUserOperationGas ( transaction . Input ) . ConfigureAwait ( false ) ;
306- }
307301 else
308302 {
309303 var hex = await rpc . SendRequestAsync < string > ( "eth_estimateGas" , transaction . Input , "latest" ) . ConfigureAwait ( false ) ;
You can’t perform that action at this time.
0 commit comments