Function hedera::account_info_flow::verify_transaction_signature
source · pub async fn verify_transaction_signature<D: TransactionExecute>(
client: &Client,
account_id: AccountId,
transaction: &mut Transaction<D>
) -> Result<()>
Expand description
Returns Ok(())
if the given account’s public key has signed the given transaction.
§Errors
Error::SignatureVerify
if the private key associated with the account’s public key did not sign this transaction, or the signature associated was invalid.- See
AccountInfoQuery::execute