return block number of requested block instead of always the latest

Fixes #238