Fix whitespace and curse emacs

This commit is contained in:
LLFourn 2021-01-30 13:05:23 +11:00
parent d0ffd5606a
commit 35a61f5759
No known key found for this signature in database
GPG Key ID: A27093B54DA11F65
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Remove `BlockchainMarker`, `OfflineClient` and `OfflineWallet` in favor of just using the unit - Remove `BlockchainMarker`, `OfflineClient` and `OfflineWallet` in favor of just using the unit
type to mark for a missing client. type to mark for a missing client.
- Upgrade `tokio` to `1.0`. - Upgrade `tokio` to `1.0`.
#### Transaction Creation Overhaul #### Transaction Creation Overhaul
The `TxBuilder` is now created from the `build_tx` or `build_fee_bump` functions on wallet and the The `TxBuilder` is now created from the `build_tx` or `build_fee_bump` functions on wallet and the

View File

@ -108,7 +108,7 @@ fn main() -> Result<(), bdk::Error> {
wallet.sync(noop_progress(), None)?; wallet.sync(noop_progress(), None)?;
let send_to = wallet.get_new_address()?; let send_to = wallet.get_new_address()?;
let (psbt, details) = { let (psbt, details) = {
let mut builder = wallet.build_tx(); let mut builder = wallet.build_tx();
builder builder
.add_recipient(send_to.script_pubkey(), 50_000) .add_recipient(send_to.script_pubkey(), 50_000)