quick self review

This commit is contained in:
shwoop 2025-07-02 16:56:22 +02:00
parent 346c15bebd
commit bc95c932b9
No known key found for this signature in database
GPG key ID: 95A35B68C1E5F95A
3 changed files with 10 additions and 10 deletions

View file

@ -263,16 +263,16 @@ func ContextWithMockPeerInfo(ctx context.Context, transport, source string) cont
peerInfo := PeerInfo{
Transport: transport,
HTTP: struct {
Version string
UserAgent string
Origin string
Host string
Version string
UserAgent string
Origin string
Host string
}{
Version: "1.1",
UserAgent: "test",
Origin: source,
Version: "1.1",
UserAgent: "test",
Origin: source,
Host: "test",
},
}
return context.WithValue(ctx, peerInfoContextKey{}, peerInfo)
}
}

View file

@ -21,4 +21,4 @@
"account": "0x1234567890123456789012345678901234567890"
}
}
}
}

View file

@ -33,4 +33,4 @@
"Statement present": "service.org wants you to sign in with your Ethereum account:\n0x{{Account}}\n\nhave statement\n\nURI: uri:\nVersion: 1\nChain ID: 1\nNonce: 32891757\nIssued At: 2021-09-30T16:25:24.000Z",
"Statement empty": "service.org wants you to sign in with your Ethereum account:\n0x{{Account}}\n\n\n\nURI: uri:\nVersion: 1\nChain ID: 1\nNonce: 32891757\nIssued At: 2021-09-30T16:25:24.000Z",
"Statement missing": "service.org wants you to sign in with your Ethereum account:\n0x{{Account}}\n\n\nURI: uri:\nVersion: 1\nChain ID: 1\nNonce: 32891757\nIssued At: 2021-09-30T16:25:24.000Z"
}
}