mirror of
https://github.com/urbit/shrub.git
synced 2024-12-01 14:42:02 +03:00
reset inx_w after finishing a bucket
This commit is contained in:
parent
806ee33e5f
commit
b65b23cbcb
@ -299,8 +299,9 @@ _ch_trim_buck(u3h_root* har_u, u3h_slot* sot_w)
|
||||
}
|
||||
}
|
||||
|
||||
har_u->arm_u.buc_o = c3n;
|
||||
har_u->arm_u.mug_w = (har_u->arm_u.mug_w + 1) & 0x7FFFFFFF; // modulo 2^31
|
||||
har_u->arm_u.inx_w = 0;
|
||||
har_u->arm_u.buc_o = c3n;
|
||||
return c3n;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user