aboutsummaryrefslogtreecommitdiffstats
path: root/core/nonblocking-application.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-09-03 10:01:40 +0800
committerGitHub <noreply@github.com>2018-09-03 10:01:40 +0800
commitc8d3092208f73ee991a123052a71b7dbf7fffc27 (patch)
treefdcb3b90b859531e042dbbdd6bcd7b0cca40e86a /core/nonblocking-application.go
parent9491ddae81640e04f8aed38e2cddeb64cc62d55b (diff)
downloaddexon-consensus-c8d3092208f73ee991a123052a71b7dbf7fffc27.tar
dexon-consensus-c8d3092208f73ee991a123052a71b7dbf7fffc27.tar.gz
dexon-consensus-c8d3092208f73ee991a123052a71b7dbf7fffc27.tar.bz2
dexon-consensus-c8d3092208f73ee991a123052a71b7dbf7fffc27.tar.lz
dexon-consensus-c8d3092208f73ee991a123052a71b7dbf7fffc27.tar.xz
dexon-consensus-c8d3092208f73ee991a123052a71b7dbf7fffc27.tar.zst
dexon-consensus-c8d3092208f73ee991a123052a71b7dbf7fffc27.zip
core: Add a new structure `Position` and move `ShardID`, `ChainID` and `Height` from `Block` (#89)
Diffstat (limited to 'core/nonblocking-application.go')
-rw-r--r--core/nonblocking-application.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/nonblocking-application.go b/core/nonblocking-application.go
index 5d674dd..1e20fa4 100644
--- a/core/nonblocking-application.go
+++ b/core/nonblocking-application.go
@@ -122,8 +122,8 @@ func (app *nonBlockingApplication) wait() {
// PreparePayloads cannot be non-blocking.
func (app *nonBlockingApplication) PreparePayloads(
- shardID, chainID, height uint64) [][]byte {
- return app.app.PreparePayloads(shardID, chainID, height)
+ position types.Position) [][]byte {
+ return app.app.PreparePayloads(position)
}
// VerifyPayloads cannot be non-blocking.