Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kevandee committed Aug 1, 2023
1 parent 49348d8 commit ebdb929
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AllInteractions/src/mappings/DaoValidators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function onVoted(event: Voted): void {
event.address
);

let voted = getDaoVaildatorProposalVote(
let vote = getDaoVaildatorProposalVote(
event.transaction.hash,
event.address,
event.params.proposalId,
Expand All @@ -31,10 +31,10 @@ export function onVoted(event: Voted): void {

transaction.interactionsCount = transaction.interactionsCount.plus(BigInt.fromI32(1));
transaction.type = push<BigInt>(transaction.type, getEnumBigInt(TransactionType.DAO_VALIDATORS_VOTED));
voted.transaction = transaction.id;
vote.transaction = transaction.id;

transaction.save();
voted.save();
vote.save();
}

export function onInternalProposalCreated(event: InternalProposalCreated): void {
Expand Down

0 comments on commit ebdb929

Please sign in to comment.