Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix generateMultiEd25519SignatureShard have console.log (#51)
Co-authored-by: WGB5445 <WGB98512@163.com>
  • Loading branch information
WGB5445 and WGB5445 committed May 18, 2022
1 parent c40bc71 commit 605767f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/utils/multi-sign.ts
Expand Up @@ -90,15 +90,12 @@ export async function generateMultiEd25519Signature(multiEd25519KeyShard: MultiE
})
})
)
console.log({ signatures })
const multiEd25519Signature = MultiEd25519Signature.build(signatures)
console.log({ multiEd25519Signature })
return Promise.resolve(multiEd25519Signature)
}

export async function generateMultiEd25519SignatureShard(multiEd25519KeyShard: MultiEd25519KeyShard, rawUserTransaction: RawUserTransaction): Promise<MultiEd25519SignatureShard> {
const multiEd25519Signature = await generateMultiEd25519Signature(multiEd25519KeyShard, rawUserTransaction)
console.log({ multiEd25519Signature })
const multiEd25519SignatureShard = new MultiEd25519SignatureShard(multiEd25519Signature, multiEd25519KeyShard.threshold)
return Promise.resolve(multiEd25519SignatureShard)
}

0 comments on commit 605767f

Please sign in to comment.