Skip to content

Commit

Permalink
Return consistent types during TransformEnsNameRegistered
Browse files Browse the repository at this point in the history
  • Loading branch information
GlacierWalrus committed Jan 20, 2025
1 parent f5f549b commit 3e5cca9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion db/ens.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ func (bigtable *Bigtable) TransformEnsNameRegistered(blk *types.Eth1Block, cache
case "11155111":
ensCrontractAddresses = ensContracts.ENSCrontractAddressesSepolia
default:
return nil, nil, nil
return &types.BulkMutations{[]string{}, []*gcp_bigtable.Mutation{}},
&types.BulkMutations{[]string{}, []*gcp_bigtable.Mutation{}},
nil
}

bulkData = &types.BulkMutations{}
Expand Down

0 comments on commit 3e5cca9

Please sign in to comment.