pub fn pay_fee<L, Loc>(
user_command: &SignedCommand,
signer_pk: &CompressedPubKey,
ledger: &mut L,
current_global_slot: &Slot,
) -> Result<(ExistingOrNew<Loc>, Box<Account>), String>where
L: LedgerIntf<Location = Loc>,
pub fn pay_fee<L, Loc>(
user_command: &SignedCommand,
signer_pk: &CompressedPubKey,
ledger: &mut L,
current_global_slot: &Slot,
) -> Result<(ExistingOrNew<Loc>, Box<Account>), String>where
L: LedgerIntf<Location = Loc>,