aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-04-10 16:49:36 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-10 17:38:04 +0800
commitb102e88097d7555b776e95565355ab3dacced1f9 (patch)
tree24cee42017de5380da314290ae7af8ab8d9d58d6
parent79f4bdee98fd8abd9401a3d9e43b917c21d39d18 (diff)
downloadgo-tangerine-b102e88097d7555b776e95565355ab3dacced1f9.tar
go-tangerine-b102e88097d7555b776e95565355ab3dacced1f9.tar.gz
go-tangerine-b102e88097d7555b776e95565355ab3dacced1f9.tar.bz2
go-tangerine-b102e88097d7555b776e95565355ab3dacced1f9.tar.lz
go-tangerine-b102e88097d7555b776e95565355ab3dacced1f9.tar.xz
go-tangerine-b102e88097d7555b776e95565355ab3dacced1f9.tar.zst
go-tangerine-b102e88097d7555b776e95565355ab3dacced1f9.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.