diff options
Diffstat (limited to 'simulation/app.go')
-rw-r--r-- | simulation/app.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/simulation/app.go b/simulation/app.go index f8bbcc6..419bb0a 100644 --- a/simulation/app.go +++ b/simulation/app.go @@ -67,8 +67,8 @@ func (a *simApp) BlockConfirmed(block types.Block) { } // VerifyBlock implements core.Application. -func (a *simApp) VerifyBlock(block *types.Block) bool { - return true +func (a *simApp) VerifyBlock(block *types.Block) types.BlockVerifyStatus { + return types.VerifyOK } // getAckedBlocks will return all unconfirmed blocks' hash with lower Height |