From dc4ed4341c8856eb9636f4320f96b448819f4e04 Mon Sep 17 00:00:00 2001 From: lash Date: Sun, 12 Jan 2025 19:44:53 +0000 Subject: [PATCH] Add loglines --- dev/api.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/api.go b/dev/api.go index 924b3e4..84f37a8 100644 --- a/dev/api.go +++ b/dev/api.go @@ -278,6 +278,7 @@ func (das *DevAccountService) CreateAccount(ctx context.Context) (*models.Accoun das.defaultAccount = pubKey } + logg.InfoCtxf(ctx, "account created", "account", acc) return &models.AccountResult{ PublicKey: pubKey, @@ -426,8 +427,8 @@ func (das *DevAccountService) TokenTransfer(ctx context.Context, amount, from, t if err != nil { return nil, err } - das.txs[hsh] = mytx + logg.InfoCtxf(ctx, "token transfer created", "tx", mytx) return &models.TokenTransferResponse{ TrackingId: uid.String(), }, nil