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 {
708708 wrapper_tx. fee . gas_payer . clone ( ) ,
709709 Token :: Native ( wrapper_tx. fee . gas_token . clone ( ) ) ,
710710 ) ) ;
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)
714715 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+
715723 if let Some ( block_proposer) =
716724 & self . header . proposer_address_namada
717725 {
You can’t perform that action at this time.
0 commit comments