[bdk_chain_redesign] mut_index should be index_mut

This commit is contained in:
志宇 2023-03-27 20:56:42 +08:00
parent db7883d813
commit 313965d8c8
No known key found for this signature in database
GPG Key ID: F6345C9837C2BDE8

View File

@ -73,7 +73,7 @@ impl<A: BlockAnchor, I: TxIndex> IndexedTxGraph<A, I> {
} }
/// Get a mutable reference to the internal transaction index. /// Get a mutable reference to the internal transaction index.
pub fn mut_index(&mut self) -> &mut I { pub fn index_mut(&mut self) -> &mut I {
&mut self.index &mut self.index
} }