diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-04-10 16:49:36 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-15 22:09:55 +0800 |
commit | e9798937a5978224bc54dd5627bdfa5b9ca3340f (patch) | |
tree | b8581c42ab7be5225c12a5ab1dfc2b955d406334 | |
parent | 800934fabe031ada3ffc2db6d34361d632dfcc17 (diff) | |
download | go-tangerine-e9798937a5978224bc54dd5627bdfa5b9ca3340f.tar go-tangerine-e9798937a5978224bc54dd5627bdfa5b9ca3340f.tar.gz go-tangerine-e9798937a5978224bc54dd5627bdfa5b9ca3340f.tar.bz2 go-tangerine-e9798937a5978224bc54dd5627bdfa5b9ca3340f.tar.lz go-tangerine-e9798937a5978224bc54dd5627bdfa5b9ca3340f.tar.xz go-tangerine-e9798937a5978224bc54dd5627bdfa5b9ca3340f.tar.zst go-tangerine-e9798937a5978224bc54dd5627bdfa5b9ca3340f.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. |