Skip to content

Commit

Permalink
wallet: Fix filter imports (#15325)
Browse files Browse the repository at this point in the history
  • Loading branch information
xdustinface authored May 18, 2023
1 parent 7aed9dd commit c5714b1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
3 changes: 1 addition & 2 deletions chia/rpc/wallet_rpc_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,14 @@
from chia.wallet.util.address_type import AddressType, is_valid_address
from chia.wallet.util.compute_hints import compute_coin_hints
from chia.wallet.util.compute_memos import compute_memos
from chia.wallet.util.query_filter import TransactionTypeFilter
from chia.wallet.util.query_filter import HashFilter, TransactionTypeFilter
from chia.wallet.util.transaction_type import TransactionType
from chia.wallet.util.wallet_sync_utils import fetch_coin_spend_for_coin_state
from chia.wallet.util.wallet_types import WalletType
from chia.wallet.vc_wallet.vc_store import VCProofs
from chia.wallet.vc_wallet.vc_wallet import VCWallet
from chia.wallet.wallet import CHIP_0002_SIGN_MESSAGE_PREFIX, Wallet
from chia.wallet.wallet_coin_record import WalletCoinRecord
from chia.wallet.wallet_coin_store import HashFilter
from chia.wallet.wallet_info import WalletInfo
from chia.wallet.wallet_node import WalletNode
from chia.wallet.wallet_protocol import WalletProtocol
Expand Down
2 changes: 1 addition & 1 deletion chia/wallet/trade_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
from chia.wallet.trading.trade_status import TradeStatus
from chia.wallet.trading.trade_store import TradeStore
from chia.wallet.transaction_record import TransactionRecord
from chia.wallet.util.query_filter import HashFilter
from chia.wallet.util.transaction_type import TransactionType
from chia.wallet.util.wallet_types import WalletType
from chia.wallet.wallet import Wallet
from chia.wallet.wallet_coin_record import WalletCoinRecord
from chia.wallet.wallet_coin_store import HashFilter

OFFER_MOD = load_clvm_maybe_recompile("settlement_payments.clsp")

Expand Down
3 changes: 2 additions & 1 deletion chia/wallet/wallet_state_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
from chia.wallet.uncurried_puzzle import uncurry_puzzle
from chia.wallet.util.address_type import AddressType
from chia.wallet.util.compute_hints import compute_coin_hints
from chia.wallet.util.query_filter import HashFilter
from chia.wallet.util.transaction_type import TransactionType
from chia.wallet.util.wallet_sync_utils import (
PeerRequestException,
Expand All @@ -94,7 +95,7 @@
from chia.wallet.wallet import Wallet
from chia.wallet.wallet_blockchain import WalletBlockchain
from chia.wallet.wallet_coin_record import WalletCoinRecord
from chia.wallet.wallet_coin_store import HashFilter, WalletCoinStore
from chia.wallet.wallet_coin_store import WalletCoinStore
from chia.wallet.wallet_info import WalletInfo
from chia.wallet.wallet_interested_store import WalletInterestedStore
from chia.wallet.wallet_nft_store import WalletNftStore
Expand Down
10 changes: 2 additions & 8 deletions tests/wallet/test_wallet_coin_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,10 @@
from chia.types.blockchain_format.coin import Coin
from chia.util.ints import uint8, uint16, uint32, uint64
from chia.util.misc import UInt32Range, UInt64Range, VersionedBlob
from chia.wallet.util.query_filter import AmountFilter, HashFilter
from chia.wallet.util.wallet_types import CoinType, WalletType
from chia.wallet.wallet_coin_record import WalletCoinRecord
from chia.wallet.wallet_coin_store import (
AmountFilter,
CoinRecordOrder,
GetCoinRecords,
GetCoinRecordsResult,
HashFilter,
WalletCoinStore,
)
from chia.wallet.wallet_coin_store import CoinRecordOrder, GetCoinRecords, GetCoinRecordsResult, WalletCoinStore
from tests.util.db_connection import DBConnection

coin_1 = Coin(token_bytes(32), token_bytes(32), uint64(12312))
Expand Down

0 comments on commit c5714b1

Please sign in to comment.