Skip to content

Commit 07adf84

Browse files
committed
Change to return all profit amount
1 parent 06d1e43 commit 07adf84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contract/AElf.Contracts.Profit/ViewMethods.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public override Int64Value GetProfitAmount(GetProfitAmountInput input)
6565

6666
return new Int64Value
6767
{
68-
Value = output.OneTimeClaimableProfitAmount
68+
Value = output.AllProfitAmount
6969
};
7070
}
7171

@@ -133,7 +133,7 @@ public override ReceivedProfitsMap GetProfitsMap(ClaimProfitsInput input)
133133

134134
return new ReceivedProfitsMap
135135
{
136-
Value = { output.OneTimeClaimableProfitsMap }
136+
Value = { output.AllProfitsMap }
137137
};
138138
}
139139

0 commit comments

Comments
 (0)