HomeSource World

rpc: make ExampleClientSubscription work with the geth API (#19483)

Authored by Julian Y <jyap808@users.noreply.github.com> on Apr 27 2020, 3:25 PM.

Description

rpc: make ExampleClientSubscription work with the geth API (#19483)

This corrects the call to eth_getBlockByNumber, which previously
returned this error:

  can't get latest block: missing value for required argument 1

Co-authored-by: Felix Lange <fjl@twurst.com>

Details

Event Timeline

GitHub <noreply@github.com> committed rGETH5c3993444d72: rpc: make ExampleClientSubscription work with the geth API (#19483) (authored by Julian Y <jyap808@users.noreply.github.com>).Apr 27 2020, 3:25 PM