Selaa lähdekoodia

graphql: fix issue with unmarshalling int32 into `Long` type #22153

rene 4 vuotta sitten
vanhempi
commit
39b3b8ffb4
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      graphql/schema.go

+ 1 - 1
graphql/schema.go

@@ -300,7 +300,7 @@ const schema string = `
         block(number: Long, hash: Bytes32): Block
         # Blocks returns all the blocks between two numbers, inclusive. If
         # to is not supplied, it defaults to the most recent known block.
-        blocks(from: Long!, to: Long): [Block!]!
+        blocks(from: Long, to: Long): [Block!]!
         # Pending returns the current pending state.
         pending: Pending!
         # Transaction returns a transaction specified by its hash.