See https://github.com/lightning/bolts/pull/1031
See lightning/bolts#1031