Skip to content

Commit

Permalink
Merge pull request #774 from jbenet/block-put-fix
Browse files Browse the repository at this point in the history
Fixed 'ipfs block put' panic
  • Loading branch information
whyrusleeping committed Feb 12, 2015
2 parents 188c37e + bbca9a1 commit 6eb5d8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/commands/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ It reads from stdin, and <key> is a base58 encoded multihash.
return strings.NewReader(bs.Key + "\n"), nil
},
},
Type: BlockStat{},
}

func getBlockForKey(req cmds.Request, key string) (*blocks.Block, error) {
Expand Down

0 comments on commit 6eb5d8e

Please sign in to comment.