File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -1218,7 +1218,7 @@ impl ChannelManager {
1218
1218
} ;
1219
1219
match channel_state. claimable_htlcs . entry ( forward_info. payment_hash ) {
1220
1220
hash_map:: Entry :: Occupied ( mut entry) => entry. get_mut ( ) . push ( prev_hop_data) ,
1221
- hash_map:: Entry :: Vacant ( mut entry) => { entry. insert ( vec ! [ prev_hop_data] ) ; } ,
1221
+ hash_map:: Entry :: Vacant ( entry) => { entry. insert ( vec ! [ prev_hop_data] ) ; } ,
1222
1222
} ;
1223
1223
new_events. push ( ( None , events:: Event :: PaymentReceived {
1224
1224
payment_hash : forward_info. payment_hash ,
@@ -2198,7 +2198,6 @@ mod tests {
2198
2198
use bitcoin:: util:: hash:: Sha256dHash ;
2199
2199
use bitcoin:: blockdata:: block:: { Block , BlockHeader } ;
2200
2200
use bitcoin:: blockdata:: transaction:: { Transaction , TxOut } ;
2201
- use bitcoin:: blockdata:: transaction:: OutPoint as BitcoinOutPoint ;
2202
2201
use bitcoin:: blockdata:: constants:: genesis_block;
2203
2202
use bitcoin:: network:: constants:: Network ;
2204
2203
use bitcoin:: network:: serialize:: serialize;
You can’t perform that action at this time.
0 commit comments