eclair icon indicating copy to clipboard operation
eclair copied to clipboard

Remove compatibility code for waitingSince

Open t-bast opened this issue 2 years ago • 2 comments

We used to store UNIX timestamps in the waitingSince field before moving to block count. In order to ensure backward compatibility, we converted from timestamps to blockheight based on the value.

This code has shipped more than a year ago, so we can safely remove that compatibility code since it only applies during the channel open or close period, which cannot last long anyway.

Fixes #2125

t-bast avatar Jun 30 '22 09:06 t-bast

We've now added a serializer for block heights, so you should be able to test this.

t-bast avatar Aug 19 '22 09:08 t-bast

Note to self: need to check after #2340 is deployed on our node.

pm47 avatar Aug 23 '22 08:08 pm47