File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ var globalConfig = &Config{
9696 State : StateConfig {
9797 Directory : "./.state" ,
9898 },
99- Profile : "cardano -preprod-testing " ,
99+ Profile : "ada -preprod" ,
100100}
101101
102102func Load (configFile string ) (* Config , error ) {
Original file line number Diff line number Diff line change @@ -26,4 +26,13 @@ var Profiles = map[string]Profile{
2626 InterceptSlot : 50844079 ,
2727 InterceptHash : "81325118471fddb00a20327572b371aee7cce13b846a18500d011b9cefd2a34c" ,
2828 },
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+ },
2938}
Original file line number Diff line number Diff line change @@ -208,6 +208,9 @@ func (s *State) UpdateDomain(
208208 }
209209 domainRecordsSplit := strings .Split (string (domainRecordsVal ), "," )
210210 for _ , tmpRecordKey := range domainRecordsSplit {
211+ if tmpRecordKey == "" {
212+ continue
213+ }
211214 if ! slices .Contains (recordKeys , tmpRecordKey ) {
212215 if err := txn .Delete ([]byte (tmpRecordKey )); err != nil {
213216 return err
You can’t perform that action at this time.
0 commit comments