Alpha: fix balance_update from Rewards to Fees
This commit is contained in:
parent
7afc468082
commit
3d88707eb8
@ -545,7 +545,7 @@ let rec mark_skipped
|
|||||||
{ balance_updates =
|
{ balance_updates =
|
||||||
cleanup_balance_updates
|
cleanup_balance_updates
|
||||||
[ Contract source, Debited fee ;
|
[ Contract source, Debited fee ;
|
||||||
Rewards (baker, level.cycle), Credited fee ] ;
|
Fees (baker, level.cycle), Credited fee ] ;
|
||||||
operation_result = Skipped (manager_kind op.operation) ;
|
operation_result = Skipped (manager_kind op.operation) ;
|
||||||
internal_operation_results = [] })
|
internal_operation_results = [] })
|
||||||
| Cons (Manager_operation ({ source ; fee } as op), rest) ->
|
| Cons (Manager_operation ({ source ; fee } as op), rest) ->
|
||||||
@ -554,7 +554,7 @@ let rec mark_skipped
|
|||||||
balance_updates =
|
balance_updates =
|
||||||
cleanup_balance_updates
|
cleanup_balance_updates
|
||||||
[ Contract source, Debited fee ;
|
[ Contract source, Debited fee ;
|
||||||
Rewards (baker, level.cycle), Credited fee ] ;
|
Fees (baker, level.cycle), Credited fee ] ;
|
||||||
operation_result = Skipped (manager_kind op.operation) ;
|
operation_result = Skipped (manager_kind op.operation) ;
|
||||||
internal_operation_results = [] },
|
internal_operation_results = [] },
|
||||||
mark_skipped ~baker level rest)
|
mark_skipped ~baker level rest)
|
||||||
@ -588,7 +588,7 @@ let rec apply_manager_contents_list_rec
|
|||||||
balance_updates =
|
balance_updates =
|
||||||
cleanup_balance_updates
|
cleanup_balance_updates
|
||||||
[ Contract source, Debited fee ;
|
[ Contract source, Debited fee ;
|
||||||
Rewards (baker, level.cycle), Credited fee ] ;
|
Fees (baker, level.cycle), Credited fee ] ;
|
||||||
operation_result ;
|
operation_result ;
|
||||||
internal_operation_results ;
|
internal_operation_results ;
|
||||||
} in
|
} in
|
||||||
@ -602,7 +602,7 @@ let rec apply_manager_contents_list_rec
|
|||||||
balance_updates =
|
balance_updates =
|
||||||
cleanup_balance_updates
|
cleanup_balance_updates
|
||||||
[ Contract source, Debited fee ;
|
[ Contract source, Debited fee ;
|
||||||
Rewards (baker, level.cycle), Credited fee ] ;
|
Fees (baker, level.cycle), Credited fee ] ;
|
||||||
operation_result ;
|
operation_result ;
|
||||||
internal_operation_results ;
|
internal_operation_results ;
|
||||||
} in
|
} in
|
||||||
@ -613,7 +613,7 @@ let rec apply_manager_contents_list_rec
|
|||||||
balance_updates =
|
balance_updates =
|
||||||
cleanup_balance_updates
|
cleanup_balance_updates
|
||||||
[ Contract source, Debited fee ;
|
[ Contract source, Debited fee ;
|
||||||
Rewards (baker, level.cycle), Credited fee ] ;
|
Fees (baker, level.cycle), Credited fee ] ;
|
||||||
operation_result ;
|
operation_result ;
|
||||||
internal_operation_results ;
|
internal_operation_results ;
|
||||||
} in
|
} in
|
||||||
|
Loading…
Reference in New Issue
Block a user