Skip to content

Commit

Permalink
Merge pull request #2264 from 0chain/fix/dup-alloc-rm-err
Browse files Browse the repository at this point in the history
Fix duplicate blobber alloc removing
  • Loading branch information
dabasov committed Apr 4, 2023
2 parents 9906918 + a1f1928 commit cc909af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/go/0chain.net/smartcontract/storagesc/challenge.go
Expand Up @@ -916,7 +916,7 @@ func (sc *StorageSmartContract) populateGenerateChallenge(

// get the storage allocation from MPT
alloc, err = sc.getAllocationForChallenge(txn, allocID, blobberID, balances)
if err != nil {
if err != nil && partitions.ErrItemNotFound(err) {
return nil, err
}

Expand Down

0 comments on commit cc909af

Please sign in to comment.