Skip to content

Commit c14de2a

Browse files
committed
Store, not RPC
1 parent 42138ed commit c14de2a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

chia/_tests/wallet/test_notifications.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
from chia.util.db_wrapper import DBWrapper2
1818
from chia.wallet.notification_store import NotificationStore
1919
from chia.wallet.util.tx_config import DEFAULT_TX_CONFIG
20-
from chia.wallet.wallet_request_types import DeleteNotifications
2120

2221

2322
# For testing backwards compatibility with a DB change to add height
@@ -191,9 +190,7 @@ async def track_coin_state(*args: Any) -> bool:
191190
await notification_manager_2.notification_store.delete_all_notifications()
192191
assert len(await notification_manager_2.notification_store.get_all_notifications()) == 0
193192
await notification_manager_2.notification_store.add_notification(notifications[0])
194-
await notification_manager_2.notification_store.delete_notifications(
195-
DeleteNotifications([n.id for n in notifications])
196-
)
193+
await notification_manager_2.notification_store.delete_notifications([n.id for n in notifications])
197194
assert len(await notification_manager_2.notification_store.get_all_notifications()) == 0
198195

199196
assert not await func(*notification_manager_2.most_recent_args)

0 commit comments

Comments
 (0)