diff --git a/tests/e2e/actions.go b/tests/e2e/actions.go index acdb1ec406..e31221c628 100644 --- a/tests/e2e/actions.go +++ b/tests/e2e/actions.go @@ -1847,9 +1847,9 @@ func (tr TestRun) assignConsumerPubKey(action assignConsumerPubKeyAction, verbos } if action.expectError { - if verbose { - fmt.Printf("got expected error during key assignment | err: %s \n", err.Error()) - } + if verbose { + fmt.Printf("got expected error during key assignment | err: %s \n", err.Error()) + } } // node was started with provider key