Skip to content

Commit 3b301c8

Browse files
committed
correct data type.
1 parent b235d97 commit 3b301c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vesting-backend/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ pub async fn submit_signature(
206206

207207
if !exists_data_in_file(path_to_drop_file, droped_item.address.clone()){
208208
dropped_data.push(droped_item.clone());
209-
let json_data = serde_json::to_string(&droped_item).expect("Unable to serialize");
209+
let json_data = serde_json::to_string(&dropped_data).expect("Unable to serialize");
210210
std::fs::write(path_to_drop_file, json_data).expect("Unable to write file");
211211
}
212212

0 commit comments

Comments
 (0)