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
449f5b9d
Commit
449f5b9d
authored
Dec 24, 2021
by
QM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix fmt
parent
ba9595e2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
offline.go
plugin/dapp/cross2eth/boss4x/ethereum/offline/offline.go
+1
-1
No files found.
plugin/dapp/cross2eth/boss4x/ethereum/offline/offline.go
View file @
449f5b9d
...
@@ -101,7 +101,7 @@ func CreateTxInfoAndWrite(abiData []byte, deployAddr, contract, name, url string
...
@@ -101,7 +101,7 @@ func CreateTxInfoAndWrite(abiData []byte, deployAddr, contract, name, url string
if
chainEthId
==
1337
{
if
chainEthId
==
1337
{
gasLimit
=
uint64
(
500
*
10000
)
gasLimit
=
uint64
(
500
*
10000
)
}
else
{
}
else
{
gasLimit
,
err
:
=
client
.
EstimateGas
(
context
.
Background
(),
msg
)
gasLimit
,
err
=
client
.
EstimateGas
(
context
.
Background
(),
msg
)
if
err
!=
nil
{
if
err
!=
nil
{
fmt
.
Println
(
"EstimateGas Err:"
,
err
)
fmt
.
Println
(
"EstimateGas Err:"
,
err
)
return
return
...
...
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