aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/network.go
diff options
context:
space:
mode:
Diffstat (limited to 'simulation/network.go')
-rw-r--r--simulation/network.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/simulation/network.go b/simulation/network.go
index e69dd43..16e6918 100644
--- a/simulation/network.go
+++ b/simulation/network.go
@@ -20,7 +20,6 @@ package simulation
import (
"encoding/json"
- "github.com/dexon-foundation/dexon-consensus-core/common"
"github.com/dexon-foundation/dexon-consensus-core/core/types"
)
@@ -65,7 +64,7 @@ type Network interface {
// PeerServerNetwork is the interface for peerServer network related functions
type PeerServerNetwork interface {
- DeliverBlocks(blocks common.Hashes, id int)
+ DeliverBlocks(blocks BlockList)
NotifyServer(msg Message)
GetServerInfo() InfoMessage
}