emschwartz / ilp3

An implementation of Interledger V3
5 stars 3 forks source link

Double-check that channel watcher interval is less than the settle delay #15

Open dappelt opened 6 years ago

dappelt commented 6 years ago

watchChannels() should double-check that CHANNEL_WATCHER_INTERVAL < DEFAULT_SETTLE_DELAY. There is nothing wrong with these constants in the current code, but if they are changed carelessly it will be easy to steal from the connector.