blockchain: Fix typo in example_test.go.

This commit is contained in:
Alex Manuskin 2018-01-31 10:40:46 +02:00 committed by Dave Collins
parent 9aa9e79ebf
commit 50de9da05b

View file

@ -18,7 +18,7 @@ import (
)
// This example demonstrates how to create a new chain instance and use
// ProcessBlock to attempt to attempt add a block to the chain. As the package
// ProcessBlock to attempt to add a block to the chain. As the package
// overview documentation describes, this includes all of the Bitcoin consensus
// rules. This example intentionally attempts to insert a duplicate genesis
// block to illustrate how an invalid block is handled.