Skip to content

Commit b0d477d

Browse files
committed
another int bool map
1 parent 2f56e81 commit b0d477d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

chia/full_node/coin_store.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@ async def get_coins_added_at_height(self, height: uint32) -> list[CoinRecord]:
226226
for row in rows:
227227
coin = self.row_to_coin(row)
228228
spent_index = uint32(0) if row[1] <= 0 else uint32(row[1])
229-
coins.append(CoinRecord(coin, row[0], spent_index, row[2], row[6]))
229+
coinbase = False if row[2] == 0 else True
230+
coins.append(CoinRecord(coin, row[0], spent_index, coinbase, row[6]))
230231
return coins
231232

232233
async def get_coins_removed_at_height(self, height: uint32) -> list[CoinRecord]:

0 commit comments

Comments
 (0)