Currently, SaveSTR uses utils.WriteFile, which causes a new running of the server doesn't rewrite the init.str and causes the client reporting mismatched hash chain. To resolve that, we change it to ioutil.WriteFile, which ensures that the server writes new initial STR.
This is relevant to #209.
Currently, SaveSTR uses
utils.WriteFile
, which causes a new running of the server doesn't rewrite theinit.str
and causes the client reporting mismatched hash chain. To resolve that, we change it toioutil.WriteFile
, which ensures that the server writes new initial STR.