Skip to content

Commit

Permalink
updated log
Browse files Browse the repository at this point in the history
  • Loading branch information
tbssajal committed Oct 24, 2022
1 parent 56ec0ef commit 06895a7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,9 @@ public ExecutionStatus KeyGenConfirmWithVerification(UInt256 cycle, byte[] tpkeP
var sender = MsgSender();
if (ConfirmationFromPlayer(sender, gen))
{
Logger.LogError($"GovernanceContract is halted in KeyGenConfirm: sender {sender.ToHex()} sent confirmation more than once");
Logger.LogError(
$"GovernanceContract is halted in KeyGenConfirmWithVerification: sender {sender.ToHex()} sent confirmation more than once"
);
return ExecutionStatus.ExecutionHalted;
}
ConfirmationReceivedFromPlayer(sender, gen);
Expand All @@ -444,7 +446,7 @@ public ExecutionStatus FinishCycle(UInt256 cycle, SystemContractExecutionFrame f

if (!MsgSender().IsZero())
{
Logger.LogError("!MsgSender().IsZero(): governance function called by non-zero address");
Logger.LogError("!MsgSender().IsZero(): governance function FinishCycle() called by non-zero address");
return ExecutionStatus.ExecutionHalted;
}

Expand Down

0 comments on commit 06895a7

Please sign in to comment.