Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
c7ad0eba
Unverified
Commit
c7ad0eba
authored
Apr 14, 2024
by
brucexc
Committed by
GitHub
Apr 14, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: fix typo (#9874)
* chore: fix typo * chore: fix typo
parent
5804fa8e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
send_state.go
op-service/txmgr/send_state.go
+1
-1
txmgr.go
op-service/txmgr/txmgr.go
+1
-1
No files found.
op-service/txmgr/send_state.go
View file @
c7ad0eba
...
@@ -90,7 +90,7 @@ func (s *SendState) TxMined(txHash common.Hash) {
...
@@ -90,7 +90,7 @@ func (s *SendState) TxMined(txHash common.Hash) {
s
.
minedTxs
[
txHash
]
=
struct
{}{}
s
.
minedTxs
[
txHash
]
=
struct
{}{}
}
}
// TxMined records that the txn with txnHash has not been mined or has been
// Tx
Not
Mined records that the txn with txnHash has not been mined or has been
// reorg'd out. It is safe to call this function multiple times.
// reorg'd out. It is safe to call this function multiple times.
func
(
s
*
SendState
)
TxNotMined
(
txHash
common
.
Hash
)
{
func
(
s
*
SendState
)
TxNotMined
(
txHash
common
.
Hash
)
{
s
.
mu
.
Lock
()
s
.
mu
.
Lock
()
...
...
op-service/txmgr/txmgr.go
View file @
c7ad0eba
...
@@ -418,7 +418,7 @@ func (m *SimpleTxManager) sendTx(ctx context.Context, tx *types.Transaction) (*t
...
@@ -418,7 +418,7 @@ func (m *SimpleTxManager) sendTx(ctx context.Context, tx *types.Transaction) (*t
return
tx
return
tx
}
}
// Immediately publish a transaction before starting the resu
mb
ission loop
// Immediately publish a transaction before starting the resu
bm
ission loop
tx
=
publishAndWait
(
tx
,
false
)
tx
=
publishAndWait
(
tx
,
false
)
ticker
:=
time
.
NewTicker
(
m
.
cfg
.
ResubmissionTimeout
)
ticker
:=
time
.
NewTicker
(
m
.
cfg
.
ResubmissionTimeout
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment