aboutsummaryrefslogtreecommitdiffstats
path: root/core/interfaces.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/interfaces.go')
-rw-r--r--core/interfaces.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/interfaces.go b/core/interfaces.go
index 4376742..55df106 100644
--- a/core/interfaces.go
+++ b/core/interfaces.go
@@ -28,7 +28,7 @@ import (
// consensus core.
type Application interface {
// PreparePayload is called when consensus core is preparing a block.
- PreparePayloads(shardID, chainID, height uint64) [][]byte
+ PreparePayloads(position types.Position) [][]byte
// VerifyPayloads verifies if the payloads are valid.
VerifyPayloads(payloads [][]byte) bool