Commit 2b9b9e77 authored by Taylor Gerring's avatar Taylor Gerring

Allow "earliest" block height

parent 47298264
......@@ -36,6 +36,8 @@ func blockHeight(raw interface{}, number *int64) error {
}
switch str {
case "earliest":
*number = 0
case "latest":
*number = -1
case "pending":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment