File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -102,10 +102,14 @@ pub async fn run() -> anyhow::Result<()> {
102
102
let domain_separator_v2 = tap_eip712_domain (
103
103
config. blockchain . chain_id as u64 ,
104
104
if config. horizon . enabled {
105
- config. blockchain . receipts_verifier_address_v2
105
+ config
106
+ . blockchain
107
+ . receipts_verifier_address_v2
106
108
. expect ( "receipts_verifier_address_v2 is required when Horizon is enabled" )
107
109
} else {
108
- config. blockchain . receipts_verifier_address_v2
110
+ config
111
+ . blockchain
112
+ . receipts_verifier_address_v2
109
113
. unwrap_or ( config. blockchain . receipts_verifier_address )
110
114
} ,
111
115
tap_core:: TapVersion :: V2 ,
Original file line number Diff line number Diff line change @@ -35,10 +35,14 @@ pub static EIP_712_DOMAIN_V2: LazyLock<Eip712Domain> = LazyLock::new(|| {
35
35
tap_eip712_domain (
36
36
CONFIG . blockchain . chain_id as u64 ,
37
37
if CONFIG . horizon . enabled {
38
- CONFIG . blockchain . receipts_verifier_address_v2
38
+ CONFIG
39
+ . blockchain
40
+ . receipts_verifier_address_v2
39
41
. expect ( "receipts_verifier_address_v2 is required when Horizon is enabled" )
40
42
} else {
41
- CONFIG . blockchain . receipts_verifier_address_v2
43
+ CONFIG
44
+ . blockchain
45
+ . receipts_verifier_address_v2
42
46
. unwrap_or ( CONFIG . blockchain . receipts_verifier_address )
43
47
} ,
44
48
tap_core:: TapVersion :: V2 ,
You can’t perform that action at this time.
0 commit comments