Rich card data
This commit is contained in:
+1
-1
@@ -46,4 +46,4 @@ export function testnetOwnerOf(state: Pick<TestnetSnapshot, 'blocks' | 'transfer
|
||||
let owner = state.blocks.find(b => b.tokenId === hash)?.owner;
|
||||
for (const t of state.transfers) if (t.cardHash === hash) owner = t.to;
|
||||
return owner;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user