aboutsummaryrefslogtreecommitdiffstats
path: root/core/test/app.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-08-30 17:21:58 +0800
committerGitHub <noreply@github.com>2018-08-30 17:21:58 +0800
commit96554a3bc14030e5d0dfc9dc1ee6bcdd9a133fa8 (patch)
tree418e2c43acf4f9c13289eaccf66f94ef46c9356b /core/test/app.go
parenta4e0da981a3dfc8817d39be65cb5b24938b0761a (diff)
downloaddexon-consensus-96554a3bc14030e5d0dfc9dc1ee6bcdd9a133fa8.tar
dexon-consensus-96554a3bc14030e5d0dfc9dc1ee6bcdd9a133fa8.tar.gz
dexon-consensus-96554a3bc14030e5d0dfc9dc1ee6bcdd9a133fa8.tar.bz2
dexon-consensus-96554a3bc14030e5d0dfc9dc1ee6bcdd9a133fa8.tar.lz
dexon-consensus-96554a3bc14030e5d0dfc9dc1ee6bcdd9a133fa8.tar.xz
dexon-consensus-96554a3bc14030e5d0dfc9dc1ee6bcdd9a133fa8.tar.zst
dexon-consensus-96554a3bc14030e5d0dfc9dc1ee6bcdd9a133fa8.zip
core: Add PreparePayloads to Application and Remove blockConverter interface. (#84)
Diffstat (limited to 'core/test/app.go')
-rw-r--r--core/test/app.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/test/app.go b/core/test/app.go
index e26c20c..e36a184 100644
--- a/core/test/app.go
+++ b/core/test/app.go
@@ -102,6 +102,11 @@ func NewApp() *App {
}
}
+// PreparePayloads implements Application interface.
+func (app *App) PreparePayloads(shardID, chainID, height uint64) [][]byte {
+ return [][]byte{}
+}
+
// StronglyAcked implements Application interface.
func (app *App) StronglyAcked(blockHash common.Hash) {
app.ackedLock.Lock()