OSDN Git Service

delete unused fixconsensusreward
authoriczc <iczcalan@gmail.com>
Fri, 26 Jul 2019 08:51:48 +0000 (16:51 +0800)
committericzc <iczcalan@gmail.com>
Fri, 26 Jul 2019 08:51:48 +0000 (16:51 +0800)
toolbar/consensusreward/consensusreward.go

index 783c398..327bf02 100644 (file)
@@ -1,7 +1,6 @@
 package consensusreward
 
 import (
 package consensusreward
 
 import (
-       "fmt"
        "math/big"
 
        "github.com/vapor/consensus"
        "math/big"
 
        "github.com/vapor/consensus"
@@ -32,7 +31,6 @@ func NewStandbyNodeReward(cfg *config.Config, startHeight, endHeight uint64) *St
 }
 
 func (s *StandbyNodeReward) getStandbyNodeReward(height uint64) error {
 }
 
 func (s *StandbyNodeReward) getStandbyNodeReward(height uint64) error {
-       fmt.Println(height)
        voteInfos, err := s.node.GetVoteByHeight(height)
        if err != nil {
                return errors.Wrapf(err, "get alternative node reward")
        voteInfos, err := s.node.GetVoteByHeight(height)
        if err != nil {
                return errors.Wrapf(err, "get alternative node reward")