pub fn validate_transaction_signature( trx: &Transaction, key: &Ed25519KeyPair, sig: &Signature) -> bool