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 /core/nonblocking-application_test.go | |
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 'core/nonblocking-application_test.go')
-rw-r--r-- | core/nonblocking-application_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/nonblocking-application_test.go b/core/nonblocking-application_test.go index a1dd727..a969530 100644 --- a/core/nonblocking-application_test.go +++ b/core/nonblocking-application_test.go @@ -51,7 +51,7 @@ func (app *slowApp) PreparePayload(_ types.Position) []byte { return []byte{} } -func (app *slowApp) VerifyPayloads(_ [][]byte) bool { +func (app *slowApp) VerifyPayloads(_ []byte) bool { return true } |