Skip to content

Commit

Permalink
fix: compressedPublicKey instead of publicKey
Browse files Browse the repository at this point in the history
Signed-off-by: Jawad Tariq <[email protected]>
  • Loading branch information
JDawg287 committed Dec 28, 2023
1 parent a5d374c commit dd29e60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/deploy-topos-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const main = async function (...args: string[]) {
adminThreshold
)

const sequencerPublicKey = sequencerWallet.signingKey.publicKey
const sequencerPublicKey = sequencerWallet.signingKey.compressedPublicKey
const subnetId = sanitizeHexString(sequencerPublicKey.substring(4))
await setSubnetId(toposCoreConnectedToSequencer, subnetId)

Expand Down
2 changes: 1 addition & 1 deletion scripts/register-subnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const main = async function (...args: string[]) {
}

const sequencerWallet = new Wallet(sequencerPrivateKey, provider)
const sequencerPublicKey = sequencerWallet.signingKey.publicKey
const sequencerPublicKey = sequencerWallet.signingKey.compressedPublicKey

const subnetId = sanitizeHexString(sequencerPublicKey.substring(4))

Expand Down

0 comments on commit dd29e60

Please sign in to comment.