Skip to content

Commit 6b85a67

Browse files
committed
linter fixes
1 parent c1b81ad commit 6b85a67

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

cmd/cdk/rollup.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -443,9 +443,9 @@ func getCommitteeData(committee committeeContractInterface) (*CommitteeData, err
443443

444444
members := make([]CommitteeMemberData, 0)
445445
for i := uint64(0); i < getAmountOfMembers.Uint64(); i++ {
446-
member, err := committee.Members(nil, big.NewInt(0).SetUint64(i))
447-
if err != nil {
448-
return nil, err
446+
member, mErr := committee.Members(nil, big.NewInt(0).SetUint64(i))
447+
if mErr != nil {
448+
return nil, mErr
449449
}
450450
members = append(members, CommitteeMemberData{
451451
Addr: member.Addr,

cmd/ulxly/ulxly.go

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1558,30 +1558,30 @@ var ulxlyClaimCmd = &cobra.Command{
15581558
}
15591559

15601560
type ulxlyArgs struct {
1561-
gasLimit *uint64
1562-
chainID *string
1563-
privateKey *string
1564-
addressOfPrivateKey string
1565-
value *string
1566-
rpcURL *string
1567-
bridgeAddress *string
1568-
destNetwork *uint32
1569-
destAddress *string
1570-
tokenAddress *string
1571-
forceUpdate *bool
1572-
callData *string
1573-
callDataFile *string
1574-
timeout *uint64
1575-
depositCount *uint64
1576-
depositNetwork *uint64
1577-
bridgeServiceURL *string
1578-
globalIndex *string
1579-
gasPrice *string
1580-
dryRun *bool
1581-
bridgeServiceURLs *[]string
1582-
bridgeLimit *int
1583-
bridgeOffset *int
1584-
wait *time.Duration
1561+
gasLimit *uint64
1562+
chainID *string
1563+
privateKey *string
1564+
addressOfPrivateKey string
1565+
value *string
1566+
rpcURL *string
1567+
bridgeAddress *string
1568+
destNetwork *uint32
1569+
destAddress *string
1570+
tokenAddress *string
1571+
forceUpdate *bool
1572+
callData *string
1573+
callDataFile *string
1574+
timeout *uint64
1575+
depositCount *uint64
1576+
depositNetwork *uint64
1577+
bridgeServiceURL *string
1578+
globalIndex *string
1579+
gasPrice *string
1580+
dryRun *bool
1581+
bridgeServiceURLs *[]string
1582+
bridgeLimit *int
1583+
bridgeOffset *int
1584+
wait *time.Duration
15851585
concurrency *uint
15861586
}
15871587

@@ -1640,7 +1640,7 @@ const (
16401640
ArgBridgeLimit = "bridge-limit"
16411641
ArgBridgeOffset = "bridge-offset"
16421642
ArgWait = "wait"
1643-
ArgConcurrency = "concurrency"
1643+
ArgConcurrency = "concurrency"
16441644
)
16451645

16461646
func prepInputs(cmd *cobra.Command, args []string) error {

0 commit comments

Comments
 (0)