]> git.bitcoin.ninja Git - rust-lightning/commit
Accept RPC responses with a `null` `result`
authorMatt Corallo <git@bluematt.me>
Sat, 29 Apr 2023 22:31:24 +0000 (22:31 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 28 Jul 2023 19:01:34 +0000 (19:01 +0000)
commit8164cb930714129cde4d3f671f6f0b82621285c0
treed810cbcae55b1dca806fef849337944b8dd720b9
parent685f26665594e9b941ae94b00600f2b4a4a533fa
Accept RPC responses with a `null` `result`

This is actually a valid response in some cases, at least for the
`gettxout` command, where `null` is returned if no corresponding
UTXO was found, but the command otherwise succeeded.
lightning-block-sync/src/rpc.rs