fn get_txhandler( txhandlers: &BTreeMap<TransactionType, TxHandler>, tx_type: TransactionType, ) -> Result<&TxHandler, TxError>