Skip to content

Commit be27fd6

Browse files
authored
Merge pull request #494 from hashgraph/sr/sendable
2 parents 49b53be + 8d9e646 commit be27fd6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sdk/rust/src/account/account_info_flow.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ async fn query_pk(client: &Client, account_id: AccountId) -> crate::Result<Publi
4444
pub async fn verify_signature(
4545
client: &Client,
4646
account_id: AccountId,
47-
msg: impl AsRef<[u8]>,
48-
signature: impl AsRef<[u8]>,
47+
msg: &[u8],
48+
signature: &[u8],
4949
) -> crate::Result<()> {
5050
let key = query_pk(client, account_id).await?;
5151

52-
key.verify(msg.as_ref(), signature.as_ref())
52+
key.verify(msg, signature)
5353
}
5454

5555
/// Returns `Ok(())` if the given account's public key has signed the given transaction.

0 commit comments

Comments
 (0)