fix: correct textual signing header mismatch error message (#25410)
Co-authored-by: Alex | Cosmos Labs <alex@cosmoslabs.io>
This commit is contained in:
co-authored by
Alex | Cosmos Labs
parent
de3afd3af2
commit
8b0b830616
@@ -187,7 +187,7 @@ func (mr *messageValueRenderer) Parse(ctx context.Context, screens []Screen) (pr
|
||||
}
|
||||
|
||||
if screens[0].Content != mr.header() {
|
||||
return nilValue, fmt.Errorf(`bad header: want "%s", got "%s"`, mr.header(), screens[0].Title)
|
||||
return nilValue, fmt.Errorf(`bad header: want "%s", got "%s"`, mr.header(), screens[0].Content)
|
||||
}
|
||||
if screens[0].Indent != 0 {
|
||||
return nilValue, fmt.Errorf("bad message indentation: want 0, got %d", screens[0].Indent)
|
||||
|
||||
Reference in New Issue
Block a user