diff options
Diffstat (limited to 'core/nonblocking-application.go')
-rw-r--r-- | core/nonblocking-application.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/nonblocking-application.go b/core/nonblocking-application.go index ccdf42e..72f63b9 100644 --- a/core/nonblocking-application.go +++ b/core/nonblocking-application.go @@ -114,6 +114,12 @@ func (app *nonBlockingApplication) wait() { app.running.Wait() } +// PreparePayloads cannot be non-blocking. +func (app *nonBlockingApplication) PreparePayloads( + shardID, chainID, height uint64) [][]byte { + return app.app.PreparePayloads(shardID, chainID, height) +} + // StronglyAcked is called when a block is strongly acked. func (app *nonBlockingApplication) StronglyAcked(blockHash common.Hash) { app.addEvent(stronglyAckedEvent{blockHash}) |