use state from persister

This commit is contained in:
Carlosokumu 2024-09-05 17:09:30 +03:00
parent 771a1e8169
commit 98c74dffc4
Signed by untrusted user: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -91,7 +91,7 @@ type Handlers struct {
func NewHandlers(appFlags *asm.FlagParser, pe *persist.Persister, userdataStore db.Db) (*Handlers, error) {
h := &Handlers{
st: state.NewState(uint32(16)),
st: pe.State,
ca: pe.GetMemory(),
userdataStore: userdataStore,
flagManager: appFlags,