diff options
Diffstat (limited to 'dex/app.go')
-rw-r--r-- | dex/app.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dex/app.go b/dex/app.go index 90ffd3d3c..8caa84837 100644 --- a/dex/app.go +++ b/dex/app.go @@ -430,10 +430,11 @@ func (d *DexconApp) BlockDelivered( var owner common.Address if !block.IsEmpty() { gs := d.gov.GetStateForConfigAtRound(block.Position.Round) - owner, err = gs.GetNodeOwnerByID(block.ProposerID) + node, err := gs.GetNodeByID(block.ProposerID) if err != nil { panic(err) } + owner = node.Owner } newBlock := types.NewBlock(&types.Header{ |