From 5707912e2f7d49b3654d616ddae3439e6dc201c4 Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Mon, 23 Mar 2015 16:36:12 +0100 Subject: "pending" convention should be -2 instead of 0 --- rpc/args.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpc') diff --git a/rpc/args.go b/rpc/args.go index 4b59f83b7..6e02b65ef 100644 --- a/rpc/args.go +++ b/rpc/args.go @@ -26,7 +26,7 @@ func blockHeight(raw interface{}, number *int64) (err error) { case "latest": *number = -1 case "pending": - *number = 0 + *number = -2 default: *number = common.String2Big(str).Int64() } -- cgit v1.2.3