Skip to content

Commit

Permalink
Merge pull request #2907 from 0chain/fix/latest-finalized
Browse files Browse the repository at this point in the history
Fix/latest finalized
  • Loading branch information
dabasov committed Oct 29, 2023
2 parents a8362c2 + dce469f commit 5ed84ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/go/0chain.net/smartcontract/storagesc/blobber.go
Expand Up @@ -777,7 +777,7 @@ func (sc *StorageSmartContract) commitBlobberConnection(
"error fetching blobber: %v", err)
}

if alloc.Stats.UsedSize == 0 {
if blobAlloc.Stats.UsedSize == 0 {
blobAlloc.LatestFinalizedChallCreatedAt = commitConnection.WriteMarker.Timestamp
blobAlloc.LatestSuccessfulChallCreatedAt = commitConnection.WriteMarker.Timestamp
}
Expand Down

0 comments on commit 5ed84ea

Please sign in to comment.