ipfs block stat bugfix: cast
Juan Batiz-Benet committed
Jan 7, 2015 at 06:26 UTC
8307572777870e81d811dc2fa9d66606ec268642
1 file changed
+1
-1
core/commands/object.go
+1
-1
@@ -224,7 +224,7 @@ var objectStatCmd = &cmds.Command{
224
Type: dag.NodeStat{},
225
Marshalers: cmds.MarshalerMap{
226
cmds.Text: func(res cmds.Response) (io.Reader, error) {
227
- ns := res.Output().(dag.NodeStat)
227
+ ns := res.Output().(*dag.NodeStat)
228
229
var buf bytes.Buffer
230
w := func(s string, n int) {