solana_svm_transaction/svm_transaction/
sanitized_transaction.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
use {
    crate::svm_transaction::SVMTransaction,
    solana_sdk::{signature::Signature, transaction::SanitizedTransaction},
};

impl SVMTransaction for SanitizedTransaction {
    fn signature(&self) -> &Signature {
        SanitizedTransaction::signature(self)
    }

    fn signatures(&self) -> &[Signature] {
        SanitizedTransaction::signatures(self)
    }
}