Skip to content

Commit

Permalink
fox typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vibern0 committed Jun 27, 2020
1 parent badcf82 commit b3e352c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db/services/community.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default class CommunityService {
}
const eventsImpactMarket = receipt.logs.map((log) => ifaceImpactMarket.parseLog(log));
const index = eventsImpactMarket.findIndex((event) => event !== null && event.name === 'CommunityAdded');
const communityContractAddress = eventsImpactMarket[index].values._addr;
const communityContractAddress = eventsImpactMarket[index].values._communityAddress;
const dbUpdate: [number, Community[]] = await Community.update(
{ contractAddress: communityContractAddress, status: 'valid', txCreationObj: null },
{ returning: true, where: { publicId } },
Expand Down

0 comments on commit b3e352c

Please sign in to comment.