diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-07 21:04:29 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-07 21:04:29 +0800 |
commit | 3063aad7dbe5b20d8af51a907b1d673f36331354 (patch) | |
tree | c2755b55e9a7e68c4fcd900b4d418fefbd7662ce /rpc/args.go | |
parent | 50aa1f178c71a4ff6c59888fcb9e78ff8a0abacd (diff) | |
parent | d0c3f127eee44274f72377085535d4c25e8b0f55 (diff) | |
download | dexon-3063aad7dbe5b20d8af51a907b1d673f36331354.tar dexon-3063aad7dbe5b20d8af51a907b1d673f36331354.tar.gz dexon-3063aad7dbe5b20d8af51a907b1d673f36331354.tar.bz2 dexon-3063aad7dbe5b20d8af51a907b1d673f36331354.tar.lz dexon-3063aad7dbe5b20d8af51a907b1d673f36331354.tar.xz dexon-3063aad7dbe5b20d8af51a907b1d673f36331354.tar.zst dexon-3063aad7dbe5b20d8af51a907b1d673f36331354.zip |
merge conflict
Diffstat (limited to 'rpc/args.go')
-rw-r--r-- | rpc/args.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rpc/args.go b/rpc/args.go index cebabf4ba..5b1c271cc 100644 --- a/rpc/args.go +++ b/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": |