fix: correct textual signing header mismatch error message (#25410)

Co-authored-by: Alex | Cosmos Labs <alex@cosmoslabs.io>
This commit is contained in:
Sebastian
2025-10-07 11:04:16 -04:00
committed by GitHub
co-authored by Alex | Cosmos Labs
parent de3afd3af2
commit 8b0b830616
+1 -1
View File
@@ -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)