diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-09-03 10:01:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-03 10:01:40 +0800 |
commit | c8d3092208f73ee991a123052a71b7dbf7fffc27 (patch) | |
tree | fdcb3b90b859531e042dbbdd6bcd7b0cca40e86a /core/nonblocking-application.go | |
parent | 9491ddae81640e04f8aed38e2cddeb64cc62d55b (diff) | |
download | tangerine-consensus-c8d3092208f73ee991a123052a71b7dbf7fffc27.tar tangerine-consensus-c8d3092208f73ee991a123052a71b7dbf7fffc27.tar.gz tangerine-consensus-c8d3092208f73ee991a123052a71b7dbf7fffc27.tar.bz2 tangerine-consensus-c8d3092208f73ee991a123052a71b7dbf7fffc27.tar.lz tangerine-consensus-c8d3092208f73ee991a123052a71b7dbf7fffc27.tar.xz tangerine-consensus-c8d3092208f73ee991a123052a71b7dbf7fffc27.tar.zst tangerine-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.go | 4 |
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. |