]> git.bitcoin.ninja Git - rust-lightning/commit
Correct confusing docs on `Channel` methods 2022-11-holding-cell-batch-update
authorMatt Corallo <git@bluematt.me>
Mon, 28 Nov 2022 23:51:55 +0000 (23:51 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 6 Dec 2022 18:18:26 +0000 (18:18 +0000)
commit18330702f2dac1c4b62bdf690606e2e62c073eda
treeeabac28f9dcc502e78e3fd16f252c025bf9c8049
parentaa9630b0cdb4ff1dd4e4fcebc3ce0be09a41a109
Correct confusing docs on `Channel` methods

The methods return `Ok(())` always, they just happen to never
return in the case of a duplicate claim if debug assertions are
enabled.
lightning/src/ln/channel.rs