OSDN Git Service

add logs (#371)
[bytom/vapor.git] / toolbar / vote_reward / settlementvotereward / settlementreward.go
index 92d37ee..e110b95 100644 (file)
@@ -86,7 +86,8 @@ func (s *SettlementReward) Settlement() error {
        }
 
        // send transactions
-       return s.node.BatchSendBTM(s.rewardCfg.AccountID, s.rewardCfg.Password, s.rewards)
+       _, err := s.node.BatchSendBTM(s.rewardCfg.AccountID, s.rewardCfg.Password, s.rewards)
+       return err
 }
 
 func (s *SettlementReward) getStandbyNodeReward(height uint64) (uint64, error) {