]> git.bitcoin.ninja Git - ldk-sample/commit
Makes send_raw_transaction return Txid instead of RawTx
authorSergi Delgado Segura <sergi.delgado.s@gmail.com>
Thu, 26 Aug 2021 15:14:31 +0000 (17:14 +0200)
committerSergi Delgado Segura <sergi.delgado.s@gmail.com>
Thu, 26 Aug 2021 15:21:57 +0000 (17:21 +0200)
commit2bd0d81d407506d05901c3ac204fcbe3f8da34e9
tree494658233de23c05cfd55659d9d7ecbe5eb9a801
parent3e396854b2a0b1a319caee9ddcb6cd5aa641a624
Makes send_raw_transaction return Txid instead of RawTx

'bitcoind_client::send_raw_transaction' was returning 'RawTx' which, while syntactically correct (it's a wrapper around String), made no sense conceptually.

Since rust-bitcoin/rust-lightning@f65d05c, `Txid` can be used instead.
src/bitcoind_client.rs