aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-04-10 16:49:36 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-15 22:09:55 +0800
commite9798937a5978224bc54dd5627bdfa5b9ca3340f (patch)
treeb8581c42ab7be5225c12a5ab1dfc2b955d406334
parent800934fabe031ada3ffc2db6d34361d632dfcc17 (diff)
downloadgo-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.go2
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.