mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
quick self review
This commit is contained in:
parent
346c15bebd
commit
bc95c932b9
3 changed files with 10 additions and 10 deletions
|
|
@ -263,14 +263,14 @@ func ContextWithMockPeerInfo(ctx context.Context, transport, source string) cont
|
||||||
peerInfo := PeerInfo{
|
peerInfo := PeerInfo{
|
||||||
Transport: transport,
|
Transport: transport,
|
||||||
HTTP: struct {
|
HTTP: struct {
|
||||||
Version string
|
Version string
|
||||||
UserAgent string
|
UserAgent string
|
||||||
Origin string
|
Origin string
|
||||||
Host string
|
Host string
|
||||||
}{
|
}{
|
||||||
Version: "1.1",
|
Version: "1.1",
|
||||||
UserAgent: "test",
|
UserAgent: "test",
|
||||||
Origin: source,
|
Origin: source,
|
||||||
Host: "test",
|
Host: "test",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue