Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Creating wallet NOT AUTHORIZED : Copayer not found #790

Open
haydencarlson opened this issue Aug 3, 2018 · 2 comments
Open

Creating wallet NOT AUTHORIZED : Copayer not found #790

haydencarlson opened this issue Aug 3, 2018 · 2 comments

Comments

@haydencarlson
Copy link

I'm using bws for bitcoin cash. It was working fine before, now when I try to generate an address for a wallet I just created it gives this error.

{"code":"NOT_AUTHORIZED","message":"Copayer not found"}

I'm creating a new wallet everytime I try to create an address.
I'm using my own local node to connect to.

@SubbieMasse
Copy link

Thank

@pavel-main
Copy link

@haydencarlson I was debugging similar issue for Bitcoin recently. It happens when Copayer ID is not found in MongoDB. To create Copayer ID for Bitcoin Cash, you have to add bch prefix to your account extended public key: https://github.com/bitpay/bitcore-wallet-client/blob/master/lib/common/utils.js#L165

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants