File tree 3 files changed +13
-1
lines changed
3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ var globalConfig = &Config{
96
96
State : StateConfig {
97
97
Directory : "./.state" ,
98
98
},
99
- Profile : "cardano -preprod-testing " ,
99
+ Profile : "ada -preprod" ,
100
100
}
101
101
102
102
func Load (configFile string ) (* Config , error ) {
Original file line number Diff line number Diff line change @@ -26,4 +26,13 @@ var Profiles = map[string]Profile{
26
26
InterceptSlot : 50844079 ,
27
27
InterceptHash : "81325118471fddb00a20327572b371aee7cce13b846a18500d011b9cefd2a34c" ,
28
28
},
29
+ "ada-preprod" : Profile {
30
+ Network : "preprod" ,
31
+ Tld : "ada" ,
32
+ PolicyId : "32c89cdb9c73b904ae0fd230770ee082d6e5fe090b20eaa08ee70dd3" ,
33
+ ScriptAddress : "addr_test1xzqg5fr7v4ee3p2xehpnm44ad5hu485jnsn4f78566evl7qrdufu8hy0xgpxma2wyt4mtcwgt0td0rtx5ku0vxll3yns632tph" ,
34
+ // The intercept slot/hash correspond to the block before the first TX on the above address
35
+ InterceptSlot : 65308876 ,
36
+ InterceptHash : "435703531e57bfe9b4d309e7360efc43e04d06531c9393530c57bebf029ec634" ,
37
+ },
29
38
}
Original file line number Diff line number Diff line change @@ -208,6 +208,9 @@ func (s *State) UpdateDomain(
208
208
}
209
209
domainRecordsSplit := strings .Split (string (domainRecordsVal ), "," )
210
210
for _ , tmpRecordKey := range domainRecordsSplit {
211
+ if tmpRecordKey == "" {
212
+ continue
213
+ }
211
214
if ! slices .Contains (recordKeys , tmpRecordKey ) {
212
215
if err := txn .Delete ([]byte (tmpRecordKey )); err != nil {
213
216
return err
You can’t perform that action at this time.
0 commit comments