git ssb

0+

Dominic / ssb-peer-invites



Commit 28939365d49976f347ac453a0e7ba7580b43c55b

Merge remote-tracking branch 'origin/notDefined' into nearby-pubs

Dominic Tarr committed on 6/30/2019, 7:15:22 PM
Parent: 6e23cee4982ba4ea2c6b847e11877987642d51c8
Parent: f2e147d8f75aa2f8c26ae7d14f089c68fe44e5cf

Files changed

index.jschanged
index.jsView
@@ -440,9 +440,9 @@
440440 function next (msg) {
441441 var invite_id = '%'+ssbKeys.hash(JSON.stringify(msg, null, 2))
442442 if(invite.invite !== invite_id)
443443 return cb(new Error(
444- 'incorrect invite was returned! expected:'+invite.invite+', but got:'+inviteId
444 + 'incorrect invite was returned! expected:'+invite.invite+', but got:'+invite_id
445445 ))
446446 var opened
447447 try { opened = I.verifyInvitePrivate(msg, invite.seed, caps) }
448448 catch (err) { return cb(err) }

Built with git-ssb-web