@cryptotaxi247 / kubo / commits / bbca9a1c3

Fixed 'ipfs block put' panic

Matt Bell committed Feb 11, 2015 at 14:51 UTC bbca9a1c37196897eb88d5e12ba5ae4af8fe4d34
1 file changed +1
core/commands/block.go
+1
@@ -159,6 +159,7 @@ It reads from stdin, and <key> is a base58 encoded multihash.
159 return strings.NewReader(bs.Key + "\n"), nil
160 },
161 },
162 + Type: BlockStat{},
163 }
164
165 func getBlockForKey(req cmds.Request, key string) (*blocks.Block, error) {