witnet / witnet-rust

Open source Rust implementation of the Witnet decentralized oracle protocol, including full node and wallet backend 👁️🦀
https://docs.witnet.io
GNU General Public License v3.0
180 stars 56 forks source link

fix(wallet): allow generating transactions without persisting change addresses #2385

Closed aesedepece closed 1 year ago

aesedepece commented 1 year ago

This opens up the possibility of creating transactions in a wallet without persisting change addresses, which is needed in the case of fee estimations.

Fix #2384

aesedepece commented 1 year ago

For this functionality to actually make an impact, a similar change is needed on the Sheikah side, so the preview: true flag is passed to createVTT and createDRT.