Skip to content

Commit

Permalink
fix <3.10 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Quexington committed Aug 19, 2024
1 parent 7410099 commit 8f89ed6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions chia/rpc/wallet_request_types.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

import sys
from dataclasses import dataclass
from dataclasses import dataclass, field
from typing import Any, Dict, List, Optional, Type, TypeVar

from typing_extensions import dataclass_transform
Expand Down Expand Up @@ -123,10 +123,10 @@ class TransactionEndpointResponse(Streamable):
@streamable
@kw_only_dataclass
class SplitCoins(TransactionEndpointRequest):
wallet_id: uint32
number_of_coins: uint16
amount_per_coin: uint64
target_coin_id: bytes32
wallet_id: uint32 = field(default_factory=default_raise)
number_of_coins: uint16 = field(default_factory=default_raise)
amount_per_coin: uint64 = field(default_factory=default_raise)
target_coin_id: bytes32 = field(default_factory=default_raise)


@streamable
Expand Down

0 comments on commit 8f89ed6

Please sign in to comment.