From 862fccd1d10d9f0194622b40ccf267bb621133f8 Mon Sep 17 00:00:00 2001 From: mrz1836 Date: Fri, 30 Oct 2020 12:46:36 -0400 Subject: [PATCH] Return the tested addresses in error message --- verify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/verify.go b/verify.go index c0de570..711cf9c 100644 --- a/verify.go +++ b/verify.go @@ -39,7 +39,7 @@ func VerifyMessage(address, signature, data string) error { return nil } } - return fmt.Errorf("address: %s not found", address) + return fmt.Errorf("address: %s not found in: %v ", address, addresses) } // VerifyMessageDER will take a message string, a public key string and a signature string