Skip to content

Commit

Permalink
chore: improve doc comments
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Hill <[email protected]>
  • Loading branch information
gregdhill committed Apr 12, 2023
1 parent 114791e commit d1a0c62
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions bitcoin/src/electrs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ impl ElectrsClient {
Ok(txs)
}

/// Returns the *largest* payment to the `address` which is
/// greater than or equal to the specified `amount` and contains
/// an `OP_RETURN` output with `data`.
pub(crate) async fn get_tx_for_op_return(
&self,
address: Address,
Expand Down
2 changes: 1 addition & 1 deletion bitcoin/src/light/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ impl Wallet {
log::info!("Found utxo: {}", utxo.outpoint.txid);

if prev_txid.contains(&utxo.outpoint.txid) {
// skip if trying to spend previous tx (RBF)
// skip if trying to spend from the tx we are replacing
continue;
}

Expand Down

0 comments on commit d1a0c62

Please sign in to comment.