aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/fake-network.go
diff options
context:
space:
mode:
Diffstat (limited to 'simulation/fake-network.go')
-rw-r--r--simulation/fake-network.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/simulation/fake-network.go b/simulation/fake-network.go
index dde8bd7..61394a9 100644
--- a/simulation/fake-network.go
+++ b/simulation/fake-network.go
@@ -22,7 +22,6 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon-consensus-core/common"
"github.com/dexon-foundation/dexon-consensus-core/core/types"
)
@@ -95,7 +94,7 @@ func (n *FakeNetwork) BroadcastBlock(block *types.Block) {
}
// DeliverBlocks sends blocks to peerServer.
-func (n *FakeNetwork) DeliverBlocks(blocks common.Hashes, id int) {
+func (n *FakeNetwork) DeliverBlocks(blocks BlockList) {
// TODO(jimmy-dexon): Implement this method.
return
}