summaryrefslogtreecommitdiffstats
path: root/lib/test_objagg.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test_objagg.c')
-rw-r--r--lib/test_objagg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test_objagg.c b/lib/test_objagg.c
index da137939a410..c0c957c50635 100644
--- a/lib/test_objagg.c
+++ b/lib/test_objagg.c
@@ -157,7 +157,7 @@ static int test_nodelta_obj_get(struct world *world, struct objagg *objagg,
int err;
if (should_create_root)
- prandom_bytes(world->next_root_buf,
+ get_random_bytes(world->next_root_buf,
sizeof(world->next_root_buf));
objagg_obj = world_obj_get(world, objagg, key_id);