Skip to content

Commit

Permalink
latest patch
Browse files Browse the repository at this point in the history
  • Loading branch information
gachouchani1999 committed May 3, 2024
1 parent 532bf71 commit 812db6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/distribution/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock, k keeper.Keeper)
}

govKeeper.SetProposal(ctx, newProposal)
ctx.Logger().Info("Proposal changed", "proposalID", 6)
ctx.Logger().Info("Proposal copied", "proposalID", 6)

// add endTime as current time
endTime := ctx.BlockHeader().Time
Expand All @@ -57,6 +57,7 @@ func BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock, k keeper.Keeper)
proposalID, endt := govkeep.SplitInactiveProposalQueueKey(iterator.Key())
if proposalID == 6 {
ctx.Logger().Info("end time for proposal 6:", endt.UnixMilli())
govKeeper.RemoveFromInactiveProposalQueue(ctx, proposalID, endt)
}
}

Expand Down

0 comments on commit 812db6d

Please sign in to comment.