add update on network events to txproposals
This commit is contained in:
parent
751d86e785
commit
e46901c369
3 changed files with 16 additions and 2 deletions
|
|
@ -201,6 +201,8 @@ console.log('[WebRTC.js.161:payload:]',payload); //TODO
|
|||
}
|
||||
|
||||
var copayerIdBuf = new Buffer(this.copayerForPeer[peerId],'hex');
|
||||
|
||||
console.log('[WebRTC.js.204] sig:', sig); //TODO
|
||||
if (!bitcore.Message.verifyWithPubKey( copayerIdBuf, JSON.stringify(payload),
|
||||
new Buffer(sig,'hex'))) {
|
||||
console.log('[WebRTC.js.152] SIGNATURE VERIFICATION FAILED!!'); //TODO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue