forked from urdt/ussd
use state from persister
This commit is contained in:
parent
771a1e8169
commit
98c74dffc4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user