Skip to content

Commit

Permalink
chore: variable name refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
naneey committed Nov 10, 2023
1 parent 61cd5ad commit 89a60b1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2345,7 +2345,7 @@ private void sponsorVote(String ipfsKey, String vote, String voteReason, Address
sponsoredTimestamp.at(proposalPrefix).set(BigInteger.valueOf(Context.getBlockTimestamp()));
sponsorDepositStatus.at(proposalPrefix).set(BOND_RECEIVED);
sponsorVoteReason.at(proposalPrefix).set(voteReason);
proposalPeriod.at(proposalPrefix).set(period.periodCount.getOrDefault(0));
proposalPeriod.at(proposalPrefix).set(getPeriodCount());

SponsorBondReceived(from, "Sponsor Bond " + value + " " + token + " Received.");
} else {
Expand Down Expand Up @@ -2662,7 +2662,7 @@ public void submitProposalMock(ProposalAttributes newProposal, String oldHash, i
}
String milestonePrefix = mileStonePrefix(newHash, milestones[i]);
MilestoneDb.id.at(milestonePrefix).set(milestones[i]);
MilestoneDb.status.at(milestonePrefix).set(MILESTONE_REPORT_COMPLETED);
MilestoneDb.status.at(milestonePrefix).set(MILESTONE_REPORT_APPROVED);
MilestoneDb.progressReportHash.at(milestonePrefix).set(report);

approvedVotes = ProgressReportDataDb.approvedVotes.at(progressHashPrefix).getOrDefault(BigInteger.ZERO);
Expand Down

0 comments on commit 89a60b1

Please sign in to comment.