bitpay / bitcore-wallet-service

A multisig, HD Bitcoin and Bitcoin Cash wallet service. Used by Copay.
https://copay.io/
MIT License
621 stars 547 forks source link

Invalid signature when unscrible push notification #752

Open starlight173 opened 6 years ago

starlight173 commented 6 years ago

I can subscribe the push notification with the token device:

1cbeb0a78eb59fe22cf3a613fd9873d9a67588c1c989e3191743444987bab35b

But when I try to unsubscribe it, I got the exception:

message = "Invalid signature"; stack = "Not authorized.\nNodeError@file:///var/containers/Bundle/Application/72CB7090-6E0D-4874-AFEB-37059DE91D33/bitpay_intergration_test.app/bwc.js:3499:50\n_parseError@file:///var/containers/Bundle/Application/72CB7090-6E0D-4874-AFEB-37059DE91D33/bitpay_intergration_test.app/bwc.js:264:34\nfile:///var/containers/Bundle/Application/72CB7090-6E0D-4874-AFEB-37059DE91D33/bitpay_intergration_test.app/bwc.js:858:32\ncallback@file:///var/containers/Bundle/Application/72CB7090-6E0D-4874-AFEB-37059DE91D33/bitpay_intergration_test.app/bwc.js:86776:5\nfile:///var/containers/Bundle/Application/72CB7090-6E0D-4874-AFEB-37059DE91D33/bitpay_intergration_test.app/bwc.js:86601:20\nemit@file:///var/containers/Bundle/Application/72CB7090-6E0D-4874-AFEB-37059DE91D33/bitpay_intergration_test.app/bwc.js:56367:25\nonreadystatechange@file:///var/containers/Bundle/Application/72CB7090-6E0D-4874-AFEB-37059DE91D33/bitpay_intergration_test.app/bwc.js:86870:14"

Anyone knows what happens to it?

huanvliu commented 6 years ago

Invalid signature ,this question is happened on building tx on client is different from buliding on server