Skip to content

Commit

Permalink
Fix comment for NetworkLocalUtxo trait
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderbiscuit committed Jun 22, 2022
1 parent 28a9b30 commit fad5e3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ pub struct LocalUtxo {
is_spent: bool,
}

/// Trait used to convert a script to an address using the wallet network
// This trait is used to convert the bdk TxOut type with field `script_pubkey: Script`
// into the bdk-ffi TxOut type which has a field `address: String` instead
trait NetworkLocalUtxo {
fn from_utxo(x: &bdk::LocalUtxo, network: Network) -> LocalUtxo;
}
Expand Down

0 comments on commit fad5e3c

Please sign in to comment.