Run the formatter
Run `cargo +nightly fmt`, no manual changes.
This commit is contained in:
parent
02c7d504fa
commit
8b089ffe40
|
@ -369,7 +369,8 @@ impl TxOut {
|
|||
/// `Weght::from_vb_checked(self.size().to_u64())` if you are concerned.
|
||||
pub fn weight(&self) -> Weight {
|
||||
// Size is equivalent to virtual size since all bytes of a TxOut are non-witness bytes.
|
||||
Weight::from_vb(self.size().to_u64()).expect("should never happen under normal conditions")
|
||||
Weight::from_vb(self.size().to_u64())
|
||||
.expect("should never happen under normal conditions")
|
||||
}
|
||||
|
||||
/// Returns the total number of bytes that this output contributes to a transaction.
|
||||
|
|
Loading…
Reference in New Issue