mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
signer: cliui - indicate less trust in remote headers, see https://github.com/ethereum/go-ethereum/issues/17637
This commit is contained in:
parent
28cbd61baa
commit
517c4fc2b0
1 changed files with 2 additions and 1 deletions
|
|
@ -95,7 +95,8 @@ func (ui *CommandlineUI) confirm() bool {
|
|||
|
||||
func showMetadata(metadata Metadata) {
|
||||
fmt.Printf("Request context:\n\t%v -> %v -> %v\n", metadata.Remote, metadata.Scheme, metadata.Local)
|
||||
fmt.Printf("\n\tUser-Agent: %v\n\tOrigin: %v\n", metadata.UserAgent, metadata.Origin)
|
||||
fmt.Printf("\nAdditional HTTP header data, provided by the external caller:\n")
|
||||
fmt.Printf("\tUser-Agent: %v\n\tOrigin: %v\n", metadata.UserAgent, metadata.Origin)
|
||||
}
|
||||
|
||||
// ApproveTx prompt the user for confirmation to request to sign Transaction
|
||||
|
|
|
|||
Loading…
Reference in a new issue