Skip to content

Commit bb29cc5

Browse files
committed
TransactionEndpointRequest misses
1 parent 00a4415 commit bb29cc5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

chia/cmds/wallet_funcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ async def take_offer(
893893
print()
894894
cli_confirm("Would you like to take this offer? (y/n): ")
895895
res = await wallet_client.take_offer(
896-
TakeOffer(offer.to_bech32(), fee=fee, push=push),
896+
TakeOffer(offer=offer.to_bech32(), fee=fee, push=push),
897897
timelock_info=condition_valid_times,
898898
tx_config=CMDTXConfigLoader().to_tx_config(units["chia"], config, fingerprint),
899899
)

chia/wallet/wallet_request_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1933,7 +1933,7 @@ class CreateOfferForIDsResponse(_OfferEndpointResponse):
19331933
@streamable
19341934
@dataclass(frozen=True)
19351935
class TakeOffer(TransactionEndpointRequest):
1936-
offer: str
1936+
offer: str = field(default_factory=default_raise)
19371937
solver: Optional[Solver] = None
19381938

19391939
@cached_property

0 commit comments

Comments
 (0)