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