fix(typo): examples/ecdsa-psbt.rs
"Creater" is a typo, it should be "Creator" role.
This commit is contained in:
parent
ad212da930
commit
f0093c0f1c
|
@ -171,7 +171,7 @@ impl WatchOnly {
|
|||
WatchOnly { account_0_xpub, input_xpub, master_fingerprint }
|
||||
}
|
||||
|
||||
/// Creates the PSBT, in BIP174 parlance this is the 'Creater'.
|
||||
/// Creates the PSBT, in BIP174 parlance this is the 'Creator'.
|
||||
fn create_psbt<C: Verification>(&self, secp: &Secp256k1<C>) -> Result<Psbt> {
|
||||
let to_address = Address::from_str(RECEIVE_ADDRESS)?.require_network(Network::Regtest)?;
|
||||
let to_amount = Amount::from_str(OUTPUT_AMOUNT_BTC)?;
|
||||
|
|
Loading…
Reference in New Issue