Open 4lve opened 1 month ago
The try_to_vec method was removed in borsh v1.0
Replace x.try_to_vec().unwrap(); with to_vec(&x).unwrap();
x.try_to_vec().unwrap();
to_vec(&x).unwrap();
The try_to_vec method was removed in borsh v1.0
Replace
x.try_to_vec().unwrap();
withto_vec(&x).unwrap();