File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ import (
3131const (
3232 AcrossMessage = "AcrossMessage"
3333
34- ZERO_ADDRESS = "0000000000000000000000000000000000000000000000000000000000000000"
35- DOMAIN_NAME = "LiquidityPool"
36- VERSION = "1.0.0"
37- PROTOCOL_ID = 1
38- BLOCK_RANGE = 1000
34+ ZERO_HASH = "0000000000000000000000000000000000000000000000000000000000000000"
35+ DOMAIN_NAME = "LiquidityPool"
36+ VERSION = "1.0.0"
37+ PROTOCOL_ID = 1
38+ BLOCK_RANGE = 1000
3939
4040 TIMEOUT = 10 * time .Minute
4141)
@@ -245,7 +245,7 @@ func (h *AcrossMessageHandler) minimalConfirmations(d *events.AcrossDeposit) (ui
245245 return 0 , err
246246 }
247247
248- if common .Bytes2Hex (d .OutputToken [:]) == ZERO_ADDRESS {
248+ if common .Bytes2Hex (d .OutputToken [:]) == ZERO_HASH {
249249 address , err := h .tokenMatcher .DestinationToken (d .DestinationChainId , symbol )
250250 if err != nil {
251251 return 0 , err
You can’t perform that action at this time.
0 commit comments