Fix whitespace and curse emacs
This commit is contained in:
parent
d0ffd5606a
commit
35a61f5759
@ -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
|
||||||
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user