@@ -881,7 +881,7 @@ pub struct Anchor {
881881#[ derive( Debug , Clone , uniffi:: Record ) ]
882882pub struct TxGraphChangeSet {
883883 pub txs : Vec < Arc < Transaction > > ,
884- pub txouts : HashMap < Arc < HashableOutPoint > , TxOut > ,
884+ pub txouts : HashMap < HashableOutPoint , TxOut > ,
885885 pub anchors : Vec < Anchor > ,
886886 pub last_seen : HashMap < Arc < Txid > , u64 > ,
887887 pub first_seen : HashMap < Arc < Txid > , u64 > ,
@@ -897,7 +897,7 @@ impl From<bdk_wallet::chain::tx_graph::ChangeSet<BdkConfirmationBlockTime>> for
897897 . collect :: < Vec < Arc < Transaction > > > ( ) ;
898898 let mut txouts = HashMap :: new ( ) ;
899899 for ( outpoint, txout) in core:: mem:: take ( & mut value. txouts ) {
900- txouts. insert ( Arc :: new ( HashableOutPoint ( outpoint. into ( ) ) ) , txout. into ( ) ) ;
900+ txouts. insert ( HashableOutPoint :: new ( outpoint. into ( ) ) , txout. into ( ) ) ;
901901 }
902902 let mut anchors = Vec :: new ( ) ;
903903 for anchor in core:: mem:: take ( & mut value. anchors ) {
@@ -949,8 +949,8 @@ impl From<TxGraphChangeSet> for bdk_wallet::chain::tx_graph::ChangeSet<BdkConfir
949949 txs. insert ( tx) ;
950950 }
951951 let mut txouts = BTreeMap :: new ( ) ;
952- for txout in core:: mem:: take ( & mut value. txouts ) {
953- txouts. insert ( txout . 0 . outpoint ( ) . into ( ) , txout. 1 . into ( ) ) ;
952+ for ( outpoint , txout) in core:: mem:: take ( & mut value. txouts ) {
953+ txouts. insert ( outpoint . outpoint ( ) . into ( ) , txout. into ( ) ) ;
954954 }
955955 let mut anchors = BTreeSet :: new ( ) ;
956956 for anchor in core:: mem:: take ( & mut value. anchors ) {
0 commit comments