From 8307572777870e81d811dc2fa9d66606ec268642 Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet Date: Wed, 7 Jan 2015 06:26:34 -0800 Subject: [PATCH] ipfs block stat bugfix: cast --- core/commands/object.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/commands/object.go b/core/commands/object.go index 055a7f67d..026496f58 100644 --- a/core/commands/object.go +++ b/core/commands/object.go @@ -224,7 +224,7 @@ var objectStatCmd = &cmds.Command{ Type: dag.NodeStat{}, Marshalers: cmds.MarshalerMap{ cmds.Text: func(res cmds.Response) (io.Reader, error) { - ns := res.Output().(dag.NodeStat) + ns := res.Output().(*dag.NodeStat) var buf bytes.Buffer w := func(s string, n int) {