From 91b769042857f542b2792b23ec407e1c9bd4fe8d Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Tue, 12 Jul 2016 17:47:15 +0200 Subject: rpc: add new client, use it everywhere The new client implementation supports concurrent requests, subscriptions and replaces the various ad hoc RPC clients throughout go-ethereum. --- internal/jsre/pretty.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/jsre/pretty.go') diff --git a/internal/jsre/pretty.go b/internal/jsre/pretty.go index 30d8660ff..f32e16243 100644 --- a/internal/jsre/pretty.go +++ b/internal/jsre/pretty.go @@ -116,7 +116,7 @@ func (ctx ppctx) printValue(v otto.Value, level int, inArray bool) { func (ctx ppctx) printObject(obj *otto.Object, level int, inArray bool) { switch obj.Class() { - case "Array": + case "Array", "GoArray": lv, _ := obj.Get("length") len, _ := lv.ToInteger() if len == 0 { -- cgit