Skip to content

Commit

Permalink
add in to some params
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchhill committed Oct 29, 2024
1 parent 72661cc commit ebff950
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public interface IValidatorRegistryContract
/// </summary>
/// <param name="message"></param>
/// <param name="signature"></param>
bool IsRegistered(BlockHeader header, in ValidatorsInfo validatorsInfo, out HashSet<ulong> unregistered);
bool IsRegistered(in BlockHeader header, in ValidatorsInfo validatorsInfo, out HashSet<ulong> unregistered);

/// <summary>
/// Returns the number of previous updates to the registry.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ValidatorRegistryContract(
public Update GetUpdate(BlockHeader header, in UInt256 i)
=> (Update)Call(header, nameof(GetUpdate), Address.Zero, [i])[0];

public bool IsRegistered(BlockHeader header, in ValidatorsInfo validatorsInfo, out HashSet<ulong> unregistered)
public bool IsRegistered(in BlockHeader header, in ValidatorsInfo validatorsInfo, out HashSet<ulong> unregistered)
{
Dictionary<ulong, ulong?> nonces = [];
unregistered = [];
Expand Down

0 comments on commit ebff950

Please sign in to comment.