• Mark Tyneway's avatar
    dtl: handle errors in context api · 8f72064d
    Mark Tyneway authored
    Both `GET /eth/context/latest` and `GET /eth/context/blocknumber/:number`
    rely on fetching a remote block to pull the timestamp, blocknumber and
    blockhash from. If the fetched block is not found, then properties on
    `null` will be attempted to be accessed which will result in a runtime
    error. This commit adds handling for this case to prevent that kind of
    bug.
    8f72064d
Name
Last commit
Last update
..
README.md Loading commit data...
afraid-otters-repeat.md Loading commit data...
config.json Loading commit data...
cool-starfishes-peel.md Loading commit data...
famous-wombats-exercise.md Loading commit data...
forty-dancers-try.md Loading commit data...
friendly-bikes-exist.md Loading commit data...
green-donuts-bathe.md Loading commit data...
happy-poems-impress.md Loading commit data...
many-seals-argue.md Loading commit data...
plenty-ghosts-enjoy.md Loading commit data...
quick-drinks-tease.md Loading commit data...
rude-boxes-jog.md Loading commit data...
smooth-bags-applaud.md Loading commit data...
tricky-bees-sneeze.md Loading commit data...
twenty-needles-grin.md Loading commit data...
warm-news-punch.md Loading commit data...
wet-singers-dream.md Loading commit data...