{"push_id":2327093791,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"e76a0b4ddcc44424358c0722011b1cf83fa59222","before":"fd04fca7710ff89d074e70654b3a43d334552c5c","commits":[{"sha":"e76a0b4ddcc44424358c0722011b1cf83fa59222","author":{"name":"Rusty Russell","email":"69f5932eb9977dcad4aeec4104f9f99d5dd1ae66@rustcorp.com.au"},"message":"gossipd: fix race where we can handoff peer with bad cryptostate.\n\nDEBUG:root:lightningd(16333): 2018-02-08T02:12:21.158Z lightningd(8262): lightning_openingd(0382ce59ebf18be7d84677c2e35f23294b9992ceca95491fcf8a56c6cb2d9de199): Failed hdr decrypt with rn=2\n\nWe only hand off the peer if we've not started writing, but that was\ninsufficient: we increment the sn twice on encrypting packet, so there's\na window before we've actually started writing where this is now\nwrong.\n\nThe simplest fix is only to hand off from master when we've just written,\nand have the read-packet path simply wake the write-packet path.\n\nSigned-off-by: Rusty Russell <rusty@rustcorp.com.au>","distinct":true,"url":"https://api.github.com/repos/ElementsProject/lightning/commits/e76a0b4ddcc44424358c0722011b1cf83fa59222"}]}
{"actor":{"display_login":"cdecker"}}