Skip to content

Commit

Permalink
fixes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
axenteoctavian committed Nov 12, 2024
1 parent 28d8688 commit bbcddb7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/txSender/dataFormatter.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (df *dataFormatter) CreateTxsData(data *sovereign.BridgeOperations) [][]byt
}

for _, bridgeData := range data.Data {
log.Debug("creating tx data", "bridge op hash", bridgeData.Hash, "nr of operations", len(bridgeData.OutGoingOperations))
log.Debug("creating tx data", "bridge op hash", bridgeData.Hash, "no. of operations", len(bridgeData.OutGoingOperations))

registerBridgeOpData := df.createRegisterBridgeOperationsData(bridgeData)
if len(registerBridgeOpData) != 0 {
Expand Down
2 changes: 1 addition & 1 deletion server/txSender/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ var errNilDataFormatter = errors.New("nil data formatter provided")

var errNilNonceHandler = errors.New("nil nonce handler provided")

var errNoMultiSigSCAddress = errors.New("no multi sig sc address provided")
var errNoHeaderVerifierSCAddress = errors.New("no header verifier sc address provided")

var errNoEsdtSafeSCAddress = errors.New("no esdt safe sc address provided")
2 changes: 1 addition & 1 deletion server/txSender/txSender.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func checkArgs(args TxSenderArgs) error {
return errNilNonceHandler
}
if len(args.SCHeaderVerifierAddress) == 0 {
return errNoMultiSigSCAddress
return errNoHeaderVerifierSCAddress
}
if len(args.SCEsdtSafeAddress) == 0 {
return errNoEsdtSafeSCAddress
Expand Down

0 comments on commit bbcddb7

Please sign in to comment.