Skip to content

Commit

Permalink
fix: commitment to bytes script (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
scolear authored Jun 4, 2024
1 parent 3bc9873 commit 272a216
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/08-set-tss-commitment.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ async function setTSSCommitment(timestamp) {

if (timestamp) {
commitment = timestamp;
commitmentBytes32 = ethers.utils.formatBytes32String(
commitment.toString()
);
} else {
const response = await prompts({
type: 'select',
Expand Down

0 comments on commit 272a216

Please sign in to comment.