Commit af6c0d71 authored by Hamdi Allam's avatar Hamdi Allam

remove outddated comment

parent 81c8a806
......@@ -80,12 +80,9 @@ func (db *blocksDB) StoreL1BlockHeaders(headers []*L1BlockHeader) error {
}
func (db *blocksDB) StoreLegacyStateBatch(stateBatch *LegacyStateBatch) error {
// Event though transaction control flow is managed, could we benefit
// Even though transaction control flow is managed, could we benefit
// from a nested transaction here?
// Handle edge case where gorm interprets the nil representation of uint256
// as a NULL insertion. This causes issues with the non-null constaint as a
// primary key
result := db.gorm.Create(stateBatch)
if result.Error != nil {
return result.Error
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment