Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
link33
plugin
Commits
616578a3
Commit
616578a3
authored
Dec 02, 2021
by
QM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
92dde129
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sendTxs.go
plugin/dapp/cross2eth/boss4x/ethereum/offline/sendTxs.go
+1
-1
deploy.go
...app/cross2eth/ebrelayer/relayer/ethereum/ethtxs/deploy.go
+1
-1
No files found.
plugin/dapp/cross2eth/boss4x/ethereum/offline/sendTxs.go
View file @
616578a3
...
@@ -81,7 +81,7 @@ func checkTxStatus(client *ethclient.Client, txhash, txName string) bool {
...
@@ -81,7 +81,7 @@ func checkTxStatus(client *ethclient.Client, txhash, txName string) bool {
case
<-
checkticket
.
C
:
case
<-
checkticket
.
C
:
receipt
,
err
:=
client
.
TransactionReceipt
(
context
.
Background
(),
common
.
HexToHash
(
txhash
))
receipt
,
err
:=
client
.
TransactionReceipt
(
context
.
Background
(),
common
.
HexToHash
(
txhash
))
if
err
==
ethereum
.
NotFound
{
if
err
==
ethereum
.
NotFound
{
fmt
.
Println
(
"
\n
No receipt received yet for "
+
txName
,
" tx and continue to wait"
)
//
fmt.Println("\n No receipt received yet for "+txName, " tx and continue to wait")
continue
continue
}
else
if
err
!=
nil
{
}
else
if
err
!=
nil
{
panic
(
"failed due to"
+
err
.
Error
())
panic
(
"failed due to"
+
err
.
Error
())
...
...
plugin/dapp/cross2eth/ebrelayer/relayer/ethereum/ethtxs/deploy.go
View file @
616578a3
...
@@ -196,7 +196,7 @@ func DeployAndInit(client ethinterface.EthClientSpec, para *DeployPara) (*X2EthC
...
@@ -196,7 +196,7 @@ func DeployAndInit(client ethinterface.EthClientSpec, para *DeployPara) (*X2EthC
case
<-
oneSecondtimeout
.
C
:
case
<-
oneSecondtimeout
.
C
:
_
,
err
:=
client
.
TransactionReceipt
(
context
.
Background
(),
common
.
HexToHash
(
deployInfo
.
Valset
.
TxHash
))
_
,
err
:=
client
.
TransactionReceipt
(
context
.
Background
(),
common
.
HexToHash
(
deployInfo
.
Valset
.
TxHash
))
if
err
==
ethereum
.
NotFound
{
if
err
==
ethereum
.
NotFound
{
fmt
.
Println
(
"
\n
No receipt received yet for DeployValset tx and continue to wait"
)
//
fmt.Println("\n No receipt received yet for DeployValset tx and continue to wait")
continue
continue
}
else
if
err
!=
nil
{
}
else
if
err
!=
nil
{
panic
(
"DeployValset failed due to"
+
err
.
Error
())
panic
(
"DeployValset failed due to"
+
err
.
Error
())
...
...
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