File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
wallet/src/account/output_cache Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -1570,32 +1570,6 @@ impl OutputCache {
1570
1570
}
1571
1571
}
1572
1572
1573
- for output in tx. outputs ( ) {
1574
- match output {
1575
- TxOutput :: CreateStakePool ( pool_id, _) => {
1576
- self . pools . remove ( pool_id) ;
1577
- }
1578
- TxOutput :: ProduceBlockFromStake ( _, pool_id) => {
1579
- if self . pools . contains_key ( pool_id) {
1580
- let latest_utxo = self . find_latest_utxo_for_pool ( * pool_id) ;
1581
- if let Some ( pool_data) = self . pools . get_mut ( pool_id) {
1582
- pool_data. utxo_outpoint = latest_utxo. expect ( "must be present" ) ;
1583
- }
1584
- }
1585
- }
1586
- TxOutput :: Burn ( _)
1587
- | TxOutput :: Transfer ( _, _)
1588
- | TxOutput :: IssueNft ( _, _, _)
1589
- | TxOutput :: DataDeposit ( _)
1590
- | TxOutput :: DelegateStaking ( _, _)
1591
- | TxOutput :: LockThenTransfer ( _, _, _)
1592
- | TxOutput :: CreateDelegationId ( _, _)
1593
- | TxOutput :: IssueFungibleToken ( _)
1594
- | TxOutput :: Htlc ( _, _)
1595
- | TxOutput :: CreateOrder ( _) => { }
1596
- }
1597
- }
1598
-
1599
1573
for output in tx. outputs ( ) . iter ( ) . rev ( ) {
1600
1574
match output {
1601
1575
TxOutput :: CreateStakePool ( pool_id, _) => {
You can’t perform that action at this time.
0 commit comments