Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wanwiset25 committed Dec 14, 2023
1 parent 17c447b commit c5ea6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subnet/deployment-generator/script/config_gen.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function configSanityCheck(config){

if (config.parentnet.privatekey != ''){
try{
config.parentnet.pubkey = validatePK(config.parentnet.privatekey)
config.parentnet.pubkey = validatePK(config.parentnet.privatekey)[1]
}catch{
console.log('Invalid PARENTNET_WALLET_PK')
process.exit(1)
Expand Down

0 comments on commit c5ea6df

Please sign in to comment.