mirror of
https://github.com/fluencelabs/marine.git
synced 2024-12-12 14:55:32 +00:00
Make prev_data a list by default
This commit is contained in:
parent
42375f3334
commit
bfc69c8104
@ -73,7 +73,7 @@ impl AquamarineVM {
|
|||||||
|
|
||||||
let prev_data_path = self.particle_data_store.join(particle_id);
|
let prev_data_path = self.particle_data_store.join(particle_id);
|
||||||
// TODO: check for errors related to invalid file content (such as invalid UTF8 string)
|
// TODO: check for errors related to invalid file content (such as invalid UTF8 string)
|
||||||
let prev_data = std::fs::read_to_string(&prev_data_path).unwrap_or(String::from("{}"));
|
let prev_data = std::fs::read_to_string(&prev_data_path).unwrap_or(String::from("[]"));
|
||||||
let args = vec![
|
let args = vec![
|
||||||
IValue::String(init_user_id.into()),
|
IValue::String(init_user_id.into()),
|
||||||
IValue::String(aqua.into()),
|
IValue::String(aqua.into()),
|
||||||
|
Loading…
Reference in New Issue
Block a user