Skip to content

Commit 2d21861

Browse files
committed
Merge branch 'staging' of https://github.com/0chain/blobber into feat/recover-trie
2 parents f2c9fd5 + 06767cc commit 2d21861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/go/0chain.net/blobbercore/allocation/newdirchange.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func (nf *NewDir) ApplyChangeV2(ctx context.Context, allocationRoot, clientPubKe
128128
collector.LockTransaction()
129129
defer collector.UnlockTransaction()
130130
txn := datastore.GetStore().GetTransaction(ctx)
131-
err = txn.Exec("UPDATE refs SET custom_meta=? WHERE lookup_hash=?", nf.CustomMeta, newRef.LookupHash).Error
131+
err = txn.Exec("UPDATE reference_objects SET custom_meta=? WHERE lookup_hash=?", nf.CustomMeta, newRef.LookupHash).Error
132132
return 0, err
133133
}
134134
newRef.AllocationID = nf.AllocationID

0 commit comments

Comments
 (0)