Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayashsatolia403 committed Jan 6, 2025
1 parent b9c11ad commit e448eef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/transaction/entity.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"context"
"encoding/json"
"fmt"
"github.com/0chain/common/core/logging"
"net/http"
"strings"
"sync"
Expand Down Expand Up @@ -538,6 +539,8 @@ func SmartContractTxnValueFee(scAddress string, sn SmartContractTxnData,
now := time.Now()
Logger.Info("SmartContractTxnValueFee", zap.Any("scAddress", scAddress), zap.Any("sn", sn), zap.Any("value", value), zap.Any("fee", fee), zap.Any("verifyTxn", verifyTxn), zap.Any("clients", clients), zap.Any("time", now))

logging.Logger.Info("Jayash SmartContractTxnValueFee", zap.Any("scAddress", scAddress), zap.Any("sn", sn), zap.Any("value", value), zap.Any("fee", fee), zap.Any("verifyTxn", verifyTxn), zap.Any("clients", clients), zap.Any("time", now))

clientId := client.Id()
if len(clients) > 0 && clients[0] != "" {
clientId = clients[0]
Expand Down

0 comments on commit e448eef

Please sign in to comment.