Revert "signer/core: show helptext when clef rejects signing (#27538)"

This reverts commit 2a99cd8fd0.
This commit is contained in:
devopsbo3 2023-11-10 12:27:53 -06:00 committed by GitHub
parent a9752735a2
commit 9cd6deb3e6

View file

@ -553,7 +553,6 @@ func (api *SignerAPI) SignTransaction(ctx context.Context, args apitypes.SendTxA
// If we are in 'rejectMode', then reject rather than show the user warnings
if api.rejectMode {
if err := msgs.GetWarnings(); err != nil {
log.Info("Signing aborted due to warnings. In order to continue despite warnings, please use the flag '--advanced'.")
return nil, err
}
}
@ -626,7 +625,6 @@ func (api *SignerAPI) SignGnosisSafeTx(ctx context.Context, signerAddress common
// If we are in 'rejectMode', then reject rather than show the user warnings
if api.rejectMode {
if err := msgs.GetWarnings(); err != nil {
log.Info("Signing aborted due to warnings. In order to continue despite warnings, please use the flag '--advanced'.")
return nil, err
}
}