mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
signer/core/apitypes: fix receiver name
This commit is contained in:
parent
3fd521b981
commit
6a8c5557ea
1 changed files with 2 additions and 2 deletions
|
|
@ -67,9 +67,9 @@ func (vs *ValidationMessages) Info(msg string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetWarnings returns an error with all messages of type WARN of above, or nil if no warnings were present
|
// GetWarnings returns an error with all messages of type WARN of above, or nil if no warnings were present
|
||||||
func (v *ValidationMessages) GetWarnings() error {
|
func (vs *ValidationMessages) GetWarnings() error {
|
||||||
var messages []string
|
var messages []string
|
||||||
for _, msg := range v.Messages {
|
for _, msg := range vs.Messages {
|
||||||
if msg.Typ == WARN || msg.Typ == CRIT {
|
if msg.Typ == WARN || msg.Typ == CRIT {
|
||||||
messages = append(messages, msg.Message)
|
messages = append(messages, msg.Message)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue