diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-09-13 15:01:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-13 15:01:16 +0800 |
commit | 41f4c2fd789d6b58ca076e675b2ce931aaedb37b (patch) | |
tree | 6a1c1309ef27a82e8e20c65f76268511e1bfe0df /simulation | |
parent | e9e0793a7191fb422e5458174d97c84a1f02f26a (diff) | |
download | tangerine-consensus-41f4c2fd789d6b58ca076e675b2ce931aaedb37b.tar.gz tangerine-consensus-41f4c2fd789d6b58ca076e675b2ce931aaedb37b.tar.zst tangerine-consensus-41f4c2fd789d6b58ca076e675b2ce931aaedb37b.zip |
core: fix VerifyPayload argument (#103)
Since we are using a byte slice for storing payload. VerifyPayload()
should also accepts a byte slice.
Diffstat (limited to 'simulation')
-rw-r--r-- | simulation/app.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |