Manually format write_err statement
The formatter doesn't touch this line but its not uniform with the surrounding code.
This commit is contained in:
parent
43d7c750cc
commit
0c9223ac05
|
@ -1409,9 +1409,7 @@ impl fmt::Display for TaprootError {
|
||||||
InvalidMerkleTreeDepth(ref e) => write_err!(f, "invalid Merkle tree depth"; e),
|
InvalidMerkleTreeDepth(ref e) => write_err!(f, "invalid Merkle tree depth"; e),
|
||||||
InvalidTaprootLeafVersion(ref e) => write_err!(f, "invalid Taproot leaf version"; e),
|
InvalidTaprootLeafVersion(ref e) => write_err!(f, "invalid Taproot leaf version"; e),
|
||||||
InvalidControlBlockSize(ref e) => write_err!(f, "invalid control block size"; e),
|
InvalidControlBlockSize(ref e) => write_err!(f, "invalid control block size"; e),
|
||||||
InvalidInternalKey(ref e) => {
|
InvalidInternalKey(ref e) => write_err!(f, "invalid internal x-only key"; e),
|
||||||
write_err!(f, "invalid internal x-only key"; e)
|
|
||||||
}
|
|
||||||
EmptyTree => write!(f, "Taproot Tree must contain at least one script"),
|
EmptyTree => write!(f, "Taproot Tree must contain at least one script"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue