From 9e85efbcd4a4d9e4defbc0d161f5ab770416ec56 Mon Sep 17 00:00:00 2001 From: Brord van Wierst Date: Wed, 10 Jan 2024 18:11:33 +0100 Subject: [PATCH] whyd that comment not appear grr --- sdk/src/wallet/core/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/src/wallet/core/mod.rs b/sdk/src/wallet/core/mod.rs index a4bd843fa6..ae4d146c60 100644 --- a/sdk/src/wallet/core/mod.rs +++ b/sdk/src/wallet/core/mod.rs @@ -313,6 +313,8 @@ impl WalletData { .filter(|output_data| output_data.output.is_account()) } + // Returns the first possible Account id, which can be an implicit account. + // If none are found, returns AccountNotFound. pub fn first_account_id(&self) -> Result { self.accounts() .next()