]> git.bitcoin.ninja Git - rust-lightning/commit
Use non-funder's funding block wait instead of max with ours
authorMatt Corallo <git@bluematt.me>
Wed, 31 Oct 2018 18:38:07 +0000 (14:38 -0400)
committerMatt Corallo <git@bluematt.me>
Wed, 31 Oct 2018 19:45:30 +0000 (15:45 -0400)
commit55a74b5dab6b88b1dc6c22c4def0a0e10557b4e2
tree87436e500a4cc926a8b7cbc215c3a8957ed8d28b
parent4d964d4d9864cc6fd078aca24406f9fdb144533f
Use non-funder's funding block wait instead of max with ours

This is both required by the protocol and also makes sense - if
we're the funder we don't mind accepting payment on the channel
after one confirmation because we assume we won't double-spend
ourselves.
src/ln/channel.rs