aboutsummaryrefslogtreecommitdiffstats
path: root/core/test/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/test/app.go')
-rw-r--r--core/test/app.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/test/app.go b/core/test/app.go
index 60bc26f..d9582c9 100644
--- a/core/test/app.go
+++ b/core/test/app.go
@@ -97,15 +97,15 @@ func NewApp() *App {
}
// PreparePayload implements Application interface.
-func (app *App) PreparePayload(position types.Position) []byte {
- return []byte{}
+func (app *App) PreparePayload(position types.Position) ([]byte, error) {
+ return []byte{}, nil
}
// PrepareWitness implements Application interface.
-func (app *App) PrepareWitness(height uint64) types.Witness {
+func (app *App) PrepareWitness(height uint64) (types.Witness, error) {
return types.Witness{
Height: height,
- }
+ }, nil
}
// VerifyBlock implements Application.