Skip to content

Commit

Permalink
Fixed 'ipfs block put' panic
Browse files Browse the repository at this point in the history
  • Loading branch information
mappum committed Feb 11, 2015
1 parent bad9a9e commit 7433fe1
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

2 comments on commit 7433fe1

@whyrusleeping
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could I get this as a separate PR against master?

@mappum
Copy link
Contributor Author

@mappum mappum commented on 7433fe1 Feb 11, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.