Skip to content

Commit

Permalink
for 080 (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
AstaFrode authored Jan 29, 2024
1 parent b53b2b4 commit de19f91
Show file tree
Hide file tree
Showing 9 changed files with 266 additions and 137 deletions.
2 changes: 1 addition & 1 deletion cmd/console/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ func runCmd(cmd *cobra.Command, args []string) {
}
}

if n.GetPodr2Key().Spk == nil {
if n.GetPodr2Key().Spk == nil || n.GetPodr2Key().Spk.N == nil {
buf, err := os.ReadFile(n.DataDir.Podr2PubkeyFile)
if err != nil {
out.Err(fmt.Sprintf("[ReadFile Podr2PubkeyFile] %v", err))
Expand Down
3 changes: 3 additions & 0 deletions configs/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ const (
DefaultBootNodeAddr = "_dnsaddr.boot-bucket-testnet.cess.cloud"
//
DefaultDeossAddr = "http://deoss-pub-gateway.cess.cloud/"

//
MinMTagFileSize = 600000
)

const (
Expand Down
Loading

0 comments on commit de19f91

Please sign in to comment.