Skip to content

Commit

Permalink
evil: #1017
Browse files Browse the repository at this point in the history
  • Loading branch information
Gianmarco Fraccaroli committed Apr 3, 2023
1 parent 8d0c6cd commit 885c8a6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apps/src/lib/node/ledger/shell/process_proposal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ mod test_process_proposal {

use super::*;
use crate::node::ledger::shell::test_utils::{
self, gen_keypair, ProcessProposal, TestError, TestShell,
self, gen_keypair, ProcessProposal, TestError,
};

/// Test that if a wrapper tx is not signed, the block is rejected
Expand Down Expand Up @@ -993,7 +993,7 @@ mod test_process_proposal {
/// block is rejected
#[test]
fn test_wrapper_tx_hash() {
let (mut shell, _) = TestShell::new();
let (mut shell, _) = test_utils::setup(1);

let keypair = crate::wallet::defaults::daewon_keypair();

Expand Down Expand Up @@ -1052,7 +1052,7 @@ mod test_process_proposal {
/// Test that a block containing two identical wrapper txs is rejected
#[test]
fn test_wrapper_tx_hash_same_block() {
let (mut shell, _) = TestShell::new();
let (mut shell, _) = test_utils::setup(1);

let keypair = crate::wallet::defaults::daewon_keypair();

Expand Down Expand Up @@ -1117,7 +1117,7 @@ mod test_process_proposal {
/// block is rejected
#[test]
fn test_inner_tx_hash() {
let (mut shell, _) = TestShell::new();
let (mut shell, _) = test_utils::setup(1);

let keypair = crate::wallet::defaults::daewon_keypair();

Expand Down Expand Up @@ -1176,7 +1176,7 @@ mod test_process_proposal {
/// rejected
#[test]
fn test_inner_tx_hash_same_block() {
let (mut shell, _) = TestShell::new();
let (mut shell, _) = test_utils::setup(1);

let keypair = crate::wallet::defaults::daewon_keypair();
let keypair_2 = crate::wallet::defaults::daewon_keypair();
Expand Down

0 comments on commit 885c8a6

Please sign in to comment.