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 (
31
31
const (
32
32
AcrossMessage = "AcrossMessage"
33
33
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
39
39
40
40
TIMEOUT = 10 * time .Minute
41
41
)
@@ -245,7 +245,7 @@ func (h *AcrossMessageHandler) minimalConfirmations(d *events.AcrossDeposit) (ui
245
245
return 0 , err
246
246
}
247
247
248
- if common .Bytes2Hex (d .OutputToken [:]) == ZERO_ADDRESS {
248
+ if common .Bytes2Hex (d .OutputToken [:]) == ZERO_HASH {
249
249
address , err := h .tokenMatcher .DestinationToken (d .DestinationChainId , symbol )
250
250
if err != nil {
251
251
return 0 , err
You can’t perform that action at this time.
0 commit comments