Skip to content

Commit

Permalink
Return the tested addresses in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Oct 30, 2020
1 parent 1da9b71 commit 862fccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 862fccd

Please sign in to comment.