Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export async function findOwnerIndex({
// Check index of owner in the factoryData
// Note: importing an undeployed contract might need to be handled differently
// The implemention will likely require the signer to tell us the index
if (!code && factory && factoryData) {
if ((code === '0x' || code == null) && factory && factoryData) {
const initData = decodeFunctionData({
abi: factoryAbi,
data: factoryData,
Expand Down