Skip to content

Commit b42166a

Browse files
committed
bad port of include_spent_coins
1 parent d1d1386 commit b42166a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

chia/wallet/wallet_request_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ class GetCoinRecordsByNames(Streamable):
545545
names: list[bytes32]
546546
start_height: Optional[uint32] = None
547547
end_height: Optional[uint32] = None
548-
include_spent_coins: bool = False
548+
include_spent_coins: bool = True
549549

550550

551551
@streamable

chia/wallet/wallet_rpc_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1845,7 +1845,7 @@ async def get_coin_records_by_names(self, request: GetCoinRecordsByNames) -> Get
18451845
if confirmed_range != UInt32Range():
18461846
kwargs["confirmed_range"] = confirmed_range
18471847

1848-
if request.include_spent_coins:
1848+
if not request.include_spent_coins:
18491849
kwargs["spent_range"] = unspent_range
18501850

18511851
async with self.service.wallet_state_manager.lock:

0 commit comments

Comments
 (0)