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 d7f161b commit ead1007Copy full SHA for ead1007
packages/thirdweb/src/wallets/in-app/core/wallet/enclave-wallet.ts
@@ -139,8 +139,8 @@ export class EnclaveWallet implements IWebWallet {
139
chain: getCachedChain(tx.chainId),
140
});
141
const transaction: Record<string, Hex | number | undefined> = {
142
- to: (tx.to as Hex) ?? undefined,
143
- data: tx.data ? toHex(tx.data) : undefined,
+ to: tx.to ? getAddress(tx.to) : undefined,
+ data: tx.data,
144
value: tx.value ? toHex(tx.value) : undefined,
145
gas: tx.gas ? toHex(tx.gas + tx.gas / BigInt(10)) : undefined, // Add a 10% buffer to gas
146
nonce: tx.nonce
0 commit comments