File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/thirdweb/src/contract/deployment/utils Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { getRpcClient } from "../../../rpc/rpc.js";
66import { sendTransaction } from "../../../transaction/actions/send-transaction.js" ;
77import { waitForReceipt } from "../../../transaction/actions/wait-for-tx-receipt.js" ;
88import { prepareTransaction } from "../../../transaction/prepare-transaction.js" ;
9+ import { getAddress } from "../../../utils/address.js" ;
910import { isEIP155Enforced } from "../../../utils/any-evm/is-eip155-enforced.js" ;
1011import { getKeylessTransaction } from "../../../utils/any-evm/keyless-transaction.js" ;
1112import { isContractDeployed } from "../../../utils/bytecode/is-contract-deployed.js" ;
@@ -234,7 +235,7 @@ async function _getCreate2FactoryDeploymentInfo(
234235 return {
235236 ...deploymentTransaction ,
236237 valueToSend : gasPrice * gas ,
237- predictedAddress : create2FactoryAddress ,
238+ predictedAddress : getAddress ( create2FactoryAddress ) ,
238239 } ;
239240}
240241
You can’t perform that action at this time.
0 commit comments