addPubkeysToAssignedPubkeys method

void addPubkeysToAssignedPubkeys(
  1. List<String> pubkeys,
  2. ReadWriteMarker direction
)

adds pubkeys with a direction to assigned Pubkeys

Implementation

void addPubkeysToAssignedPubkeys(
    List<String> pubkeys, ReadWriteMarker direction) {
  for (var pubkey in pubkeys) {
    assignedPubkeys.add(RelayJitAssignedPubkey(pubkey, direction));
  }
}