Commit 71dc43a1 authored by QM's avatar QM

update

parent 616578a3
...@@ -800,7 +800,7 @@ func (ethRelayer *Relayer4Ethereum) subscribeEvent() { ...@@ -800,7 +800,7 @@ func (ethRelayer *Relayer4Ethereum) subscribeEvent() {
// Filter by contract and event, write results to logs // Filter by contract and event, write results to logs
sub, err := ethRelayer.clientSpec.SubscribeFilterLogs(context.Background(), query, logs) sub, err := ethRelayer.clientSpec.SubscribeFilterLogs(context.Background(), query, logs)
if err != nil { if err != nil {
errinfo := fmt.Sprintf("Failed to SubscribeFilterLogs due to:%s", err.Error()) errinfo := fmt.Sprintf("Failed to SubscribeFilterLogs due to:%s, bridgeBankAddr:%s", err.Error(), ethRelayer.bridgeBankAddr)
panic(errinfo) panic(errinfo)
} }
relayerLog.Info("subscribeEvent", "Subscribed to contract at address:", targetAddress.Hex()) relayerLog.Info("subscribeEvent", "Subscribed to contract at address:", targetAddress.Hex())
......
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