mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Revert "signer/core: show helptext when clef rejects signing (#27538)"
This reverts commit 2a99cd8fd0.
This commit is contained in:
parent
a9752735a2
commit
9cd6deb3e6
1 changed files with 0 additions and 2 deletions
|
|
@ -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 we are in 'rejectMode', then reject rather than show the user warnings
|
||||||
if api.rejectMode {
|
if api.rejectMode {
|
||||||
if err := msgs.GetWarnings(); err != nil {
|
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
|
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 we are in 'rejectMode', then reject rather than show the user warnings
|
||||||
if api.rejectMode {
|
if api.rejectMode {
|
||||||
if err := msgs.GetWarnings(); err != nil {
|
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
|
return nil, err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue