• Felix Lange's avatar
    ethclient, ethereum: add NotFound, split transactions out of ChainReader · 3bc0fe1e
    Felix Lange authored
    ethclient now returns ethereum.NotFound if the server returns null and
    no error while accessing blockchain data.
    
    The light client cannot provide arbitrary transactions. The change to
    split transaction access into its own interface emphasizes that
    transactions should not be relied on and recommends use of logs.
    3bc0fe1e
ethclient_test.go 1.34 KB