pub fn validate_tx_against_account<CTX: TransactionGetter + CfgGetter, ERROR>( account: &Account, context: &CTX, ) -> Result<(), ERROR>where ERROR: From<InvalidTransaction>,
Validate account against the transaction.