From b102e88097d7555b776e95565355ab3dacced1f9 Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Wed, 10 Apr 2019 16:49:36 +0800 Subject: consensus: dexcon: set correct tx fee receiver --- consensus/dexcon/dexcon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/dexcon/dexcon.go b/consensus/dexcon/dexcon.go index c4f399c43..ae7ff0368 100644 --- a/consensus/dexcon/dexcon.go +++ b/consensus/dexcon/dexcon.go @@ -57,7 +57,7 @@ func (d *Dexcon) SetGovStateFetcher(fetcher GovernanceStateFetcher) { // Author implements consensus.Engine, returning the Ethereum address recovered // from the signature in the header's extra-data section. func (d *Dexcon) Author(header *types.Header) (common.Address, error) { - return common.Address{}, nil + return header.Coinbase, nil } // VerifyHeader checks whether a header conforms to the consensus rules. -- cgit v1.2.3