Add voucherdata resolve

This commit is contained in:
lash
2024-11-03 14:35:37 +00:00
parent 1e14395739
commit a4443cbe4c
6 changed files with 47 additions and 15 deletions

View File

@@ -35,7 +35,6 @@ func IdentityFromAddress(ctx context.Context, store *common.UserDataStore, addre
}
func getSessionIdByAddress(ctx context.Context, store *common.UserDataStore, address string) (string, error) {
logg.Debugf("fooar")
// TODO: replace with userdatastore when double sessionid issue fixed
//r, err := store.ReadEntry(ctx, address, common.DATA_PUBLIC_KEY_REVERSE)
store.Db.SetPrefix(db.DATATYPE_USERDATA)

9
lookup/token.go Normal file
View File

@@ -0,0 +1,9 @@
package lookup
import (
"git.grassecon.net/urdt/ussd/remote"
)
var (
Api remote.AccountServiceInterface = &remote.AccountService{}
)