Commit 04ef38c1 authored by hezhengjun's avatar hezhengjun Committed by 33cn

correct print format for amount

parent 60e29aae
...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment