Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 9123a80

Browse files
authored
Remove duplciate output of 'Stake Accounts' header (#3089)
1 parent bbde6d8 commit 9123a80

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

stake-pool/cli/src/output.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,7 @@ impl VerboseDisplay for CliStakePool {
167167
&self.sol_referral_fee
168168
)?;
169169
writeln!(w)?;
170-
writeln!(w, "Stake Accounts")?;
171-
writeln!(w, "--------------")?;
170+
172171
match &self.details {
173172
None => {}
174173
Some(details) => {
@@ -294,7 +293,6 @@ impl Display for CliStakePoolDetails {
294293
impl QuietDisplay for CliStakePoolDetails {}
295294
impl VerboseDisplay for CliStakePoolDetails {
296295
fn write_str(&self, w: &mut dyn Write) -> Result {
297-
writeln!(w)?;
298296
writeln!(w, "Stake Accounts")?;
299297
writeln!(w, "--------------")?;
300298
writeln!(

0 commit comments

Comments
 (0)