Skip to content

Commit

Permalink
docs: fix wrong copy paste in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorropo committed Jan 26, 2023
1 parent 81aeed8 commit c3d0e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type Block = blocks.Block
// Deprecated: Use blocks.BasicBlock instead.
type BasicBlock = blocks.BasicBlock

// Deprecated: Use blocks.ErrWrongHash instead.
// Deprecated: Use blocks.NewBlock instead.
func NewBlock(data []byte) *blocks.BasicBlock {
return blocks.NewBlock(data)
}
Expand Down

0 comments on commit c3d0e42

Please sign in to comment.