From 41f4c2fd789d6b58ca076e675b2ce931aaedb37b Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Thu, 13 Sep 2018 15:01:16 +0800 Subject: core: fix VerifyPayload argument (#103) Since we are using a byte slice for storing payload. VerifyPayload() should also accepts a byte slice. --- simulation/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'simulation') diff --git a/simulation/app.go b/simulation/app.go index 719b8de..9e89516 100644 --- a/simulation/app.go +++ b/simulation/app.go @@ -64,7 +64,7 @@ func (a *simApp) BlockConfirmed(block *types.Block) { } // VerifyPayloads implements core.Application. -func (a *simApp) VerifyPayloads(payloads [][]byte) bool { +func (a *simApp) VerifyPayloads(payloads []byte) bool { return true } -- cgit v1.2.3