parent
2df9b2c8b2
commit
0555695757
|
@ -980,9 +980,7 @@ impl Address {
|
||||||
/// # })().unwrap();
|
/// # })().unwrap();
|
||||||
/// # assert_eq!(writer, ADDRESS);
|
/// # assert_eq!(writer, ADDRESS);
|
||||||
/// ```
|
/// ```
|
||||||
pub fn to_qr_uri(&self) -> String {
|
pub fn to_qr_uri(&self) -> String { format!("bitcoin:{:#}", self) }
|
||||||
format!("bitcoin:{:#}", self)
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Returns true if the given pubkey is directly related to the address payload.
|
/// Returns true if the given pubkey is directly related to the address payload.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue