Skip to content

Commit 425bc19

Browse files
docs(key-wallet): fix broken receive-address example in IMPLEMENTATION_SUMMARY
The example called `get_next_receive_address()`, which is not a method on this struct. Replace with the real `next_receive_address(...)` signature so the snippet compiles. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 4d8ed17 commit 425bc19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

key-wallet/IMPLEMENTATION_SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ let account = wallet.create_account(
183183
let mut managed = ManagedCoreFundsAccount::from_account(&account);
184184

185185
// Get a receive address
186-
let address = managed.get_next_receive_address()?;
186+
let address = managed.next_receive_address(Some(&account.account_xpub), true)?;
187187
```
188188

189189
## Dependencies

0 commit comments

Comments
 (0)