mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
fix test
This commit is contained in:
parent
52d408ec3d
commit
221c37f728
1 changed files with 2 additions and 2 deletions
|
|
@ -338,8 +338,8 @@ func TestGraphQLConcurrentResolvers(t *testing.T) {
|
||||||
},
|
},
|
||||||
// Multiple fields of block race to resolve header and body.
|
// Multiple fields of block race to resolve header and body.
|
||||||
{
|
{
|
||||||
body: "{ block { number hash gasLimit ommerCount transactionCount totalDifficulty } }",
|
body: "{ block { number hash gasLimit ommerCount transactionCount } }",
|
||||||
want: fmt.Sprintf(`{"block":{"number":"0x1","hash":"%s","gasLimit":"0xaf79e0","ommerCount":"0x0","transactionCount":"0x3","totalDifficulty":"0x200000"}}`, chain[len(chain)-1].Hash()),
|
want: fmt.Sprintf(`{"block":{"number":"0x1","hash":"%s","gasLimit":"0xaf79e0","ommerCount":"0x0","transactionCount":"0x3"}}`, chain[len(chain)-1].Hash()),
|
||||||
},
|
},
|
||||||
// Multiple fields of a block race to resolve the header and body.
|
// Multiple fields of a block race to resolve the header and body.
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue