Add loglines

This commit is contained in:
lash 2025-01-12 19:44:53 +00:00
parent 5dcb6b5c08
commit dc4ed4341c
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -278,6 +278,7 @@ func (das *DevAccountService) CreateAccount(ctx context.Context) (*models.Accoun
das.defaultAccount = pubKey das.defaultAccount = pubKey
} }
logg.InfoCtxf(ctx, "account created", "account", acc)
return &models.AccountResult{ return &models.AccountResult{
PublicKey: pubKey, PublicKey: pubKey,
@ -426,8 +427,8 @@ func (das *DevAccountService) TokenTransfer(ctx context.Context, amount, from, t
if err != nil { if err != nil {
return nil, err return nil, err
} }
das.txs[hsh] = mytx das.txs[hsh] = mytx
logg.InfoCtxf(ctx, "token transfer created", "tx", mytx)
return &models.TokenTransferResponse{ return &models.TokenTransferResponse{
TrackingId: uid.String(), TrackingId: uid.String(),
}, nil }, nil