Pass array references correctly in MMR tests

This commit is contained in:
Jack Grigg 2019-12-05 14:23:59 +00:00
parent 573510115d
commit 583a04b4de
No known key found for this signature in database
GPG Key ID: 9E8255172BBF9898
1 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ fn append() {
peaks.as_ptr(),
peaks.len(),
&new_node_data,
rt_ret.as_mut_ptr(),
&mut rt_ret,
buf_ret.as_mut_ptr(),
);
@ -220,7 +220,7 @@ fn delete() {
nodes.as_ptr(),
peak_count,
indices.len() - peak_count,
rt_ret.as_mut_ptr(),
&mut rt_ret,
);
// Deleting from full tree of 9 height would result in cascade deleting of 10 nodes