]> git.bitcoin.ninja Git - rust-lightning/commit
Drop the amount parameter to claim_funds
authorMatt Corallo <git@bluematt.me>
Mon, 26 Apr 2021 23:05:56 +0000 (23:05 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 28 Apr 2021 19:30:25 +0000 (15:30 -0400)
commit5e968114b64034029282e4ac81b2275e4744c7ed
treec83b4dd4a4d204bbd4848ab5b07e519bb86b2994
parent5a1404809fcf2548924b0a7c0d7be73f24e59e09
Drop the amount parameter to claim_funds

Like the payment_secret parameter, this paramter has been the source
of much confusion, so we just drop it.

Users should prefer to do this check when registering the payment
secret instead of at claim-time.
fuzz/src/chanmon_consistency.rs
fuzz/src/full_stack.rs
lightning-persister/src/lib.rs
lightning/src/chain/chainmonitor.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/onion_route_tests.rs
lightning/src/ln/reorg_tests.rs