Closed avdgaag closed 1 year ago
It would appear the mist_ffi.file_open would always return an unknown_file_error since it tries to match the success case on {ok, fd} rather than {ok, Fd}. With this fix, things seem to work smoothly.
mist_ffi.file_open
unknown_file_error
{ok, fd}
{ok, Fd}
🤦♂️ thank you!
It would appear the
mist_ffi.file_open
would always return anunknown_file_error
since it tries to match the success case on{ok, fd}
rather than{ok, Fd}
. With this fix, things seem to work smoothly.