aboutsummaryrefslogtreecommitdiffstats
path: root/dex/app.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-09-18 14:39:31 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:21:31 +0800
commit8e483e2f87cdccd924ce2261ac3a5ec8b58aaf05 (patch)
tree2da15b2a0bd88983d16bc14eac239d999dee9978 /dex/app.go
parent746db3fd70a4c6311a6dc5ecfc57a56f5c1c6b80 (diff)
downloadgo-tangerine-8e483e2f87cdccd924ce2261ac3a5ec8b58aaf05.tar
go-tangerine-8e483e2f87cdccd924ce2261ac3a5ec8b58aaf05.tar.gz
go-tangerine-8e483e2f87cdccd924ce2261ac3a5ec8b58aaf05.tar.bz2
go-tangerine-8e483e2f87cdccd924ce2261ac3a5ec8b58aaf05.tar.lz
go-tangerine-8e483e2f87cdccd924ce2261ac3a5ec8b58aaf05.tar.xz
go-tangerine-8e483e2f87cdccd924ce2261ac3a5ec8b58aaf05.tar.zst
go-tangerine-8e483e2f87cdccd924ce2261ac3a5ec8b58aaf05.zip
Add udpated governance interface and app interface
Diffstat (limited to 'dex/app.go')
-rw-r--r--dex/app.go4
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.