Open greymistcube opened 1 year ago
Also there seems to be more issues regarding Transaction<T>.GenesisHash
check in general. 😐
Currently, it is being checked whether GenesisHash
es are the same for all Transaction<T>
s when creating a BlockContent<T>
. I'm not sure what the exact purpose of it is, but we might want to streamline this as well.
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.
If I'm not mistaken there is no check for
Transaction<T>.GenesisHash
forTransaction<T>
s in a genesisBlock<T>
. Logically, sinceGenesisHash
can't be assigned before a genesisBlock<T>
is produced, it'd make sense to enforce that this must benull
. 🙄