mirror of https://github.com/hyperledger/besu
eth_protocolVersion is a Quantity, not an Integer (#1470)
Per the eth JSON-RPC spec all values are strings, not raw json numbers, hence eth_protocolVersion is a Quantity ("0x3f"), not an Integer (63) Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>pull/2/head
parent
f8f81e57f9
commit
a8fb76ba63
@ -0,0 +1,14 @@ |
||||
{ |
||||
"request": { |
||||
"id": 2, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_protocolVersion", |
||||
"params": [] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 2, |
||||
"result": "0x3f" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
Loading…
Reference in new issue