Skip to content

Commit 4768b7e

Browse files
author
Jayash
committed
Debug set txn fee
1 parent 1c24740 commit 4768b7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

code/go/0chain.net/blobbercore/handler/protocol.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package handler
33
import (
44
"context"
55
"errors"
6+
"github.com/0chain/gosdk/core/client"
67
coreTxn "github.com/0chain/gosdk/core/transaction"
78
"sync"
89

@@ -121,7 +122,7 @@ func sendSmartContractBlobberAdd() (*coreTxn.Transaction, error) {
121122
})
122123
if err != nil {
123124
logging.Logger.Error("Failed to set blobber on the blockchain",
124-
zap.String("err:", err.Error()))
125+
zap.String("err:", err.Error()), zap.Any("Txn", txn), zap.Any("ClientFee", client.TxnFee()))
125126
return nil, err
126127
}
127128

0 commit comments

Comments
 (0)