From 21736dbca3f0382151818dc8b1e7405f5d7788ef Mon Sep 17 00:00:00 2001 From: Stas Boutenko Date: Sun, 21 Oct 2018 18:07:42 +0300 Subject: [PATCH] [DEV-134] Renamed ExampleBlockChain_ProcessBlock to ExampleBlockDAG_ProcessBlock to satisfy go vet. --- blockdag/example_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockdag/example_test.go b/blockdag/example_test.go index 439155869..87490cf98 100644 --- a/blockdag/example_test.go +++ b/blockdag/example_test.go @@ -22,7 +22,7 @@ import ( // 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. -func ExampleBlockChain_ProcessBlock() { +func ExampleBlockDAG_ProcessBlock() { // Create a new database to store the accepted blocks into. Typically // this would be opening an existing database and would not be deleting // and creating a new database like this, but it is done here so this is