Commit 83075727 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

ipfs block stat bugfix: cast

parent ce7ad2e2
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment