File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -708,10 +708,18 @@ impl Block {
708
708
wrapper_tx. fee . gas_payer . clone ( ) ,
709
709
Token :: Native ( wrapper_tx. fee . gas_token . clone ( ) ) ,
710
710
) ) ;
711
- // If the token is not the native one also push the balanche
712
- // change of the block proposer (the balance change for the
713
- // native token is pushed by default)
711
+
712
+ // If the token is not the native one also push the balance
713
+ // change of PGF (fee reserve) and the block proposer (the
714
+ // balance change for the native token is pushed by default)
714
715
if & wrapper_tx. fee . gas_token != native_token {
716
+ balance_changes. push ( BalanceChange :: new (
717
+ Id :: from ( namada_sdk:: address:: Address :: Internal (
718
+ namada_sdk:: address:: InternalAddress :: Pgf ,
719
+ ) ) ,
720
+ Token :: Native ( wrapper_tx. fee . gas_token . clone ( ) ) ,
721
+ ) ) ;
722
+
715
723
if let Some ( block_proposer) =
716
724
& self . header . proposer_address_namada
717
725
{
You can’t perform that action at this time.
0 commit comments