Skip to content

Commit

Permalink
change header in csv file from staking to delegating
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Jun 26, 2024
1 parent f4381e0 commit 4e59753
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/csv_calculation_file_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def is_early_payout(row):
@staticmethod
def from_payment_csv_dict_row(row):
rl = RewardLog(row["address"], row["type"], 0, 0)
rl.staking_balance = int(row["staked_balance"])
rl.staking_balance = int(row["delegated_balance"])
rl.current_balance = int(row["current_balance"])
rl.ratio = float(row["ratio"])
rl.service_fee_ratio = float(row["fee_ratio"])
Expand Down Expand Up @@ -128,7 +128,7 @@ def write(
[
"address",
"type",
"staked_balance",
"delegated_balance",
"current_balance",
"ratio",
"fee_ratio",
Expand Down

0 comments on commit 4e59753

Please sign in to comment.