From 313965d8c84f5de43cafa58c7bd9250aea93b22c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=97=E5=AE=87?= Date: Mon, 27 Mar 2023 20:56:42 +0800 Subject: [PATCH] [bdk_chain_redesign] `mut_index` should be `index_mut` --- crates/chain/src/indexed_tx_graph.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/chain/src/indexed_tx_graph.rs b/crates/chain/src/indexed_tx_graph.rs index 5361437e1..91ecd5719 100644 --- a/crates/chain/src/indexed_tx_graph.rs +++ b/crates/chain/src/indexed_tx_graph.rs @@ -73,7 +73,7 @@ impl IndexedTxGraph { } /// 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 }