remove explicit attachment of state to engine

This commit is contained in:
Carlosokumu 2024-09-05 20:26:52 +03:00
parent 17804e7641
commit 5abaf28f49
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -14,7 +14,6 @@ import (
"git.defalsify.org/vise.git/engine"
"git.defalsify.org/vise.git/persist"
"git.defalsify.org/vise.git/resource"
"git.defalsify.org/vise.git/state"
"git.defalsify.org/vise.git/logging"
"git.grassecon.net/urdt/ussd/internal/handlers/ussd"
)
@ -170,7 +169,7 @@ func main() {
}
en := getEngine(cfg, rs, pr)
en.WithState(state.NewState(uint32(16)))
_, err = en.Init(ctx)
if err != nil {