Skip to content

Commit

Permalink
fix update latest wm (#1301)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitenjain14 authored Oct 20, 2023
1 parent bbeee27 commit 204d312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/go/0chain.net/blobbercore/writemarker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func redeemWriteMarker(wm *WriteMarkerEntity) error {
mut.Release(1)
}
}()
err = allocation.Repo.UpdateAllocationRedeem(ctx, wm.WM.AllocationRoot, allocationID, alloc)
err = allocation.Repo.UpdateAllocationRedeem(ctx, allocationID, wm.WM.AllocationRoot, alloc)
if err != nil {
logging.Logger.Error("Error redeeming the write marker. Allocation latest wm redeemed update failed",
zap.Any("allocation", allocationID),
Expand Down

0 comments on commit 204d312

Please sign in to comment.