Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
cgorenflo committed Aug 31, 2023
1 parent 6d50a56 commit 6b7317a
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions ampd/src/broadcaster/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,14 @@ where
}

pub async fn with_dummy_sig(self) -> Result<TxRaw, Error> {
let x = self
.sign_with(
&DUMMY_CHAIN_ID
.parse()
.expect("the dummy chain id must be valid"),
DUMMY_ACC_NUMBER,
|_| async { Result::<_, Error>::Ok(vec![0; 64]) },
)
.await;
x
self.sign_with(
&DUMMY_CHAIN_ID
.parse()
.expect("the dummy chain id must be valid"),
DUMMY_ACC_NUMBER,
|_| async { Result::<_, Error>::Ok(vec![0; 64]) },
)
.await
}
}

Expand Down

0 comments on commit 6b7317a

Please sign in to comment.