diff options
Diffstat (limited to 'core/application.go')
-rw-r--r-- | core/application.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/application.go b/core/application.go index 763954d..5bd325c 100644 --- a/core/application.go +++ b/core/application.go @@ -21,7 +21,6 @@ import ( "time" "github.com/dexon-foundation/dexon-consensus-core/common" - "github.com/dexon-foundation/dexon-consensus-core/core/types" ) // Application describes the application interface that interacts with DEXON @@ -31,7 +30,7 @@ type Application interface { StronglyAcked(blockHash common.Hash) // TotalOrderingDeliver is called when the total ordering algorithm deliver // a set of block. - TotalOrderingDeliver(blocks []*types.Block, early bool) + TotalOrderingDeliver(blockHashes common.Hashes, early bool) // DeliverBlock is called when a block is add to the compaction chain. DeliverBlock(blockHash common.Hash, timestamp time.Time) |