Skip to content

Commit

Permalink
fix new_test_keypair
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Oct 15, 2024
1 parent 8c26dc9 commit 96ecb7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli-output/src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ mod test {

fn new_test_keypair() -> Keypair {
let keypair = ed25519_dalek::SigningKey::from_bytes(&[0u8; 32]);
Keypair::from_bytes(&keypair.to_bytes()).unwrap()
Keypair::from_bytes(&keypair.to_keypair_bytes()).unwrap()
}

fn new_test_v0_transaction() -> VersionedTransaction {
Expand Down

0 comments on commit 96ecb7d

Please sign in to comment.