diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-04-10 16:49:36 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-10 17:38:04 +0800 |
commit | b102e88097d7555b776e95565355ab3dacced1f9 (patch) | |
tree | 24cee42017de5380da314290ae7af8ab8d9d58d6 | |
parent | 79f4bdee98fd8abd9401a3d9e43b917c21d39d18 (diff) | |
download | dexon-b102e88097d7555b776e95565355ab3dacced1f9.tar.gz dexon-b102e88097d7555b776e95565355ab3dacced1f9.tar.zst dexon-b102e88097d7555b776e95565355ab3dacced1f9.zip |
consensus: dexcon: set correct tx fee receiver
-rw-r--r-- | consensus/dexcon/dexcon.go | 2 |
1 files changed, 1 insertions, 1 deletions
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. |