Allow "earliest" block height

pull/656/head
Taylor Gerring 10 years ago
parent 4729826466
commit 2b9b9e7704
  1. 2
      rpc/args.go

@ -36,6 +36,8 @@ func blockHeight(raw interface{}, number *int64) error {
}
switch str {
case "earliest":
*number = 0
case "latest":
*number = -1
case "pending":

Loading…
Cancel
Save