]> Untitled Git - bdk/commit
Set tx field to none if `include_raw` is false
authorVladimir Fomene <vladimirfomene@gmail.com>
Tue, 13 Sep 2022 08:08:03 +0000 (11:08 +0300)
committerVladimir Fomene <vladimirfomene@gmail.com>
Tue, 13 Sep 2022 08:08:03 +0000 (11:08 +0300)
commite06c3f945ca5de4ce4f78bc2179c00e42d0bb4e5
treec557623c687661545200d3fabf5df4a1cf432f91
parent06310f1dd06641c36cb1980ee34489e03eadf96b
Set tx field to none if `include_raw` is false

`del_tx` pulls the TransactionDetails object using
`select_transaction_details_by_txid` method which gets the transaction
details' data with a non-None transaction field even if the
`include_raw` argument is `false`. So it becomes necessary to Set
the transaction field in transactiondetails to None in `del_tx`, when
we make a call to it with `include_raw=false`.
src/database/sqlite.rs