From 8dc7707bc53c1b8cedd83922342029dd5245d1e8 Mon Sep 17 00:00:00 2001 From: Edward Teach Date: Wed, 14 Dec 2022 00:32:52 -0800 Subject: [PATCH] mypy fix --- chinilla/types/coin_record.py | 2 +- chinilla/wallet/wallet_coin_record.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chinilla/types/coin_record.py b/chinilla/types/coin_record.py index 0bc907a3ec39..64a4d08df52b 100644 --- a/chinilla/types/coin_record.py +++ b/chinilla/types/coin_record.py @@ -30,7 +30,7 @@ def spent(self) -> bool: @property def name(self) -> bytes32: - return self.coin.name() + return self.coin.name() # type: ignore @property def coin_state(self) -> CoinState: diff --git a/chinilla/wallet/wallet_coin_record.py b/chinilla/wallet/wallet_coin_record.py index 53f18eb3a9b1..55a7213988e7 100644 --- a/chinilla/wallet/wallet_coin_record.py +++ b/chinilla/wallet/wallet_coin_record.py @@ -25,7 +25,7 @@ class WalletCoinRecord: wallet_id: int def name(self) -> bytes32: - return self.coin.name() + return self.coin.name() # type: ignore def to_coin_record(self, timestamp: uint64) -> CoinRecord: return CoinRecord(self.coin, self.confirmed_block_height, self.spent_block_height, self.coinbase, timestamp)