Skip to content

Commit 48fa466

Browse files
committed
btc/xpubcache: typo in comment
1 parent 73836b6 commit 48fa466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust/bitbox02-rust/src/xpubcache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub trait Xpub: Sized {
3737

3838
/// Implements a cache for xpubs. Cached intermediate xpubs are used to derive child xpubs.
3939
///
40-
/// The cache must be configured using `cache_keypath()`, otherwise no caching occurs. The reason
40+
/// The cache must be configured using `add_keypath()`, otherwise no caching occurs. The reason
4141
/// for this is that automatic caching is harder to get right and reason about, e.g. in a BTC tx, we
4242
/// shouldn't cache xpubs at the address level (e.g. m/84/0'/0'/0/0), as they don't repeat and there
4343
/// can be many of them.

0 commit comments

Comments
 (0)