Skip to content

Error: progressCb should be function---- encrypt.js #4820

Answered by NodEm9
NodEm9 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello guys

I finally got it,
In this line const encryptedJsonKey = await wallet.encrypt( ) . wallet.encrypt doesn't seem to be used anymore rather wallet.encryptSync(). That is what worked fro me , should anyone run into such issue then they can try this solution.

rgds.

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
5 replies
@bancoesusanna
Comment options

@NodEm9
Comment options

@Nikzadkhan
Comment options

@icanci
Comment options

@Preciousbas
Comment options

Answer selected by NodEm9
Comment options

You must be logged in to vote
3 replies
@AskBlockchain
Comment options

@Jamsce
Comment options

@Nikzadkhan
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants