diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-09-18 14:39:31 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:48 +0800 |
commit | f60070586cf462c2cf2de91911e5b34c8287da51 (patch) | |
tree | 89fd1e95a9d8555b3dcfbb19da868905f059c6ad /dex/app.go | |
parent | 1b09d12fa17bdbcfcd0d110c4ec4057fe2a9b986 (diff) | |
download | go-tangerine-f60070586cf462c2cf2de91911e5b34c8287da51.tar go-tangerine-f60070586cf462c2cf2de91911e5b34c8287da51.tar.gz go-tangerine-f60070586cf462c2cf2de91911e5b34c8287da51.tar.bz2 go-tangerine-f60070586cf462c2cf2de91911e5b34c8287da51.tar.lz go-tangerine-f60070586cf462c2cf2de91911e5b34c8287da51.tar.xz go-tangerine-f60070586cf462c2cf2de91911e5b34c8287da51.tar.zst go-tangerine-f60070586cf462c2cf2de91911e5b34c8287da51.zip |
Add udpated governance interface and app interface
Diffstat (limited to 'dex/app.go')
-rw-r--r-- | dex/app.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dex/app.go b/dex/app.go index 9ab9dd45e..5aa1f6e35 100644 --- a/dex/app.go +++ b/dex/app.go @@ -29,11 +29,11 @@ type DexconApp struct { } // PreparePayload is called when consensus core is preparing a block. -func (d *DexconApp) PreparePayloads(position types.Position) [][]byte { +func (d *DexconApp) PreparePayloads(position types.Position) []byte { } // VerifyPayloads verifies if the payloads are valid. -func (d *DexconApp) VerifyPayloads(payloads [][]byte) bool { +func (d *DexconApp) VerifyPayloads(payloads []byte) bool { } // BlockConfirmed is called when a block is confirmed and added to lattice. |