From 5ae29540c39bfb58f4ec59716aa392a155e41817 Mon Sep 17 00:00:00 2001 From: gagliardetto Date: Sat, 27 Apr 2024 18:45:10 +0200 Subject: [PATCH] Change signature of PublicKeySlice.ContainsAny --- keys.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keys.go b/keys.go index 904e9757..fa650fe7 100644 --- a/keys.go +++ b/keys.go @@ -363,7 +363,7 @@ func (slice PublicKeySlice) ContainsAll(pubkeys PublicKeySlice) bool { } // ContainsAny returns true if any of the provided pubkeys are present in the slice. -func (slice PublicKeySlice) ContainsAny(pubkeys PublicKeySlice) bool { +func (slice PublicKeySlice) ContainsAny(pubkeys ...PublicKey) bool { for _, pubkey := range pubkeys { if slice.Contains(pubkey) { return true