From 4327710cc77b1465b70cce690cc86b978c7665e3 Mon Sep 17 00:00:00 2001 From: Lucas Bertrand Date: Wed, 28 Aug 2024 18:40:12 +0200 Subject: [PATCH] Update e2e/txserver/authority.go Co-authored-by: Dmitry S <11892559+swift1337@users.noreply.github.com> --- e2e/txserver/authority.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/txserver/authority.go b/e2e/txserver/authority.go index 2007a78d47..a6c4dfb9dd 100644 --- a/e2e/txserver/authority.go +++ b/e2e/txserver/authority.go @@ -26,7 +26,7 @@ func (zts ZetaTxServer) AddAuthorization(msgURL string) error { authoritytypes.PolicyType_groupAdmin, )) if err != nil { - return fmt.Errorf("failed to add authorization: %s", err.Error()) + return fmt.Errorf("failed to add authorization: %w", err) } return nil