Skip to content

Commit b0ccbcd

Browse files
committed
another int bool map
1 parent 6e59b01 commit b0ccbcd

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
@@ -218,7 +218,8 @@ async def get_coins_added_at_height(self, height: uint32) -> list[CoinRecord]:
218218
for row in rows:
219219
coin = self.row_to_coin(row)
220220
spent_index = uint32(0) if row[1] <= 0 else uint32(row[1])
221-
coins.append(CoinRecord(coin, row[0], spent_index, row[2], row[6]))
221+
coinbase = False if row[2] == 0 else True
222+
coins.append(CoinRecord(coin, row[0], spent_index, coinbase, row[6]))
222223
return coins
223224

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

0 commit comments

Comments
 (0)