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
04ef38c1
Commit
04ef38c1
authored
Sep 14, 2021
by
hezhengjun
Committed by
33cn
Sep 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correct print format for amount
parent
60e29aae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tx.go
plugin/dapp/cross2eth/ebrelayer/relayer/chain33/tx.go
+1
-1
No files found.
plugin/dapp/cross2eth/ebrelayer/relayer/chain33/tx.go
View file @
04ef38c1
...
@@ -79,7 +79,7 @@ func createEvmTx(privateKey chain33Crypto.PrivKey, action proto.Message, execer,
...
@@ -79,7 +79,7 @@ func createEvmTx(privateKey chain33Crypto.PrivKey, action proto.Message, execer,
}
}
func
relayEvmTx2Chain33
(
privateKey
chain33Crypto
.
PrivKey
,
claim
*
ebrelayerTypes
.
EthBridgeClaim
,
parameter
,
rpcURL
,
oracleAddr
string
)
(
string
,
error
)
{
func
relayEvmTx2Chain33
(
privateKey
chain33Crypto
.
PrivKey
,
claim
*
ebrelayerTypes
.
EthBridgeClaim
,
parameter
,
rpcURL
,
oracleAddr
string
)
(
string
,
error
)
{
note
:=
fmt
.
Sprintf
(
"relay with type:%s, chain33-receiver:%s, ethereum-sender:%s, symbol:%s, amout:%
d
, ethTxHash:%s"
,
note
:=
fmt
.
Sprintf
(
"relay with type:%s, chain33-receiver:%s, ethereum-sender:%s, symbol:%s, amout:%
s
, ethTxHash:%s"
,
events
.
ClaimType
(
claim
.
ClaimType
)
.
String
(),
claim
.
Chain33Receiver
,
claim
.
EthereumSender
,
claim
.
Symbol
,
claim
.
Amount
,
claim
.
EthTxHash
)
events
.
ClaimType
(
claim
.
ClaimType
)
.
String
(),
claim
.
Chain33Receiver
,
claim
.
EthereumSender
,
claim
.
Symbol
,
claim
.
Amount
,
claim
.
EthTxHash
)
_
,
packData
,
err
:=
evmAbi
.
Pack
(
parameter
,
generated
.
OracleABI
,
false
)
_
,
packData
,
err
:=
evmAbi
.
Pack
(
parameter
,
generated
.
OracleABI
,
false
)
if
nil
!=
err
{
if
nil
!=
err
{
...
...
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