From bb5e0c3d468139de0349d2a3d85e3b109ba83bc0 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Fri, 10 Jan 2025 10:27:07 +0100 Subject: [PATCH] Clarify documentation on external account key encoding --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index b03aadb..99e3387 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -685,6 +685,9 @@ pub struct ExternalAccountKey { impl ExternalAccountKey { /// Create a new external account key + /// + /// Note that the `key_value` argument represents the raw key value, so if the caller holds + /// an encoded key value (for example, using base64), decode it before passing it in. pub fn new(id: String, key_value: &[u8]) -> Self { Self { id,