Skip to content

Commit d9451ef

Browse files
committed
forgot push=True
1 parent e9f2732 commit d9451ef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

chia/_tests/wallet/rpc/test_wallet_rpc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1785,7 +1785,7 @@ def only_ids(trades: list[TradeRecord]) -> list[bytes32]:
17851785
== 2
17861786
)
17871787
await env_1.rpc_client.cancel_offers(
1788-
CancelOffers(secure=True, batch_size=uint16(1)), tx_config=wallet_environments.tx_config
1788+
CancelOffers(secure=True, batch_size=uint16(1), push=True), tx_config=wallet_environments.tx_config
17891789
)
17901790
assert (
17911791
len(
@@ -1842,7 +1842,7 @@ def only_ids(trades: list[TradeRecord]) -> list[bytes32]:
18421842
== 2
18431843
)
18441844
await env_1.rpc_client.cancel_offers(
1845-
CancelOffers(secure=True, cancel_all=True), tx_config=wallet_environments.tx_config
1845+
CancelOffers(secure=True, cancel_all=True, push=True), tx_config=wallet_environments.tx_config
18461846
)
18471847
assert (
18481848
len(
@@ -1906,7 +1906,7 @@ def only_ids(trades: list[TradeRecord]) -> list[bytes32]:
19061906
== 1
19071907
)
19081908
await env_1.rpc_client.cancel_offers(
1909-
CancelOffers(secure=True, asset_id=bytes32.zeros.hex()), tx_config=wallet_environments.tx_config
1909+
CancelOffers(secure=True, asset_id=bytes32.zeros.hex(), push=True), tx_config=wallet_environments.tx_config
19101910
)
19111911
assert (
19121912
len(
@@ -1919,7 +1919,7 @@ def only_ids(trades: list[TradeRecord]) -> list[bytes32]:
19191919
== 1
19201920
)
19211921
await env_1.rpc_client.cancel_offers(
1922-
CancelOffers(secure=True, asset_id=cat_asset_id.hex()), tx_config=wallet_environments.tx_config
1922+
CancelOffers(secure=True, asset_id=cat_asset_id.hex(), push=True), tx_config=wallet_environments.tx_config
19231923
)
19241924
assert (
19251925
len(

0 commit comments

Comments
 (0)