OSDN Git Service

fix small issue add_vote_reward_memo
authorpaladz <453256728@qq.com>
Mon, 12 Aug 2019 05:57:32 +0000 (13:57 +0800)
committerpaladz <453256728@qq.com>
Mon, 12 Aug 2019 05:57:32 +0000 (13:57 +0800)
toolbar/consensusreward/consensus_reward.go

index 6650563..63b675e 100644 (file)
@@ -71,7 +71,7 @@ func (s *StandbyNodeReward) Settlement() error {
                return nil
        }
 
-       txID, err := s.node.BatchSendBTM(s.cfg.RewardConf.AccountID, s.cfg.RewardConf.Password, rewards, nil)
+       txID, err := s.node.BatchSendBTM(s.cfg.RewardConf.AccountID, s.cfg.RewardConf.Password, rewards, []byte{})
        if err == nil {
                log.WithFields(log.Fields{
                        "tx_hash":      txID,