From 8e483e2f87cdccd924ce2261ac3a5ec8b58aaf05 Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Tue, 18 Sep 2018 14:39:31 +0800 Subject: Add udpated governance interface and app interface --- dex/app.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dex/app.go') 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. -- cgit