mathieulavoie / Bitcluster

https://www.bit-cluster.com
MIT License
96 stars 28 forks source link

Fail to add multisig addresses #15

Open shayanb opened 7 years ago

shayanb commented 7 years ago

I noticed that there are only 116 Multisig addresses in the updated database, this can be confirmed by querying db.getCollection('addresses').find({_id : {$regex : "^3.*"}}); in the mongoDB.

Looking deeper I noticed that address_utils.py throws an error when seeing multisig addresses:

Pubkey not in recognized format
Transaction 6cbc0f757619a5535e1fd967487d33f75ed12153a06db8c661473a2813b17d26 Unable To Parse SigScript b'00483045022100d69...

I'm working on a fix for this and will send a pull request when it's ready and tested.