Skip to content

Commit

Permalink
wallet: remove unused func
Browse files Browse the repository at this point in the history
  • Loading branch information
oleganza committed Sep 15, 2020
1 parent 27c4aa4 commit b255845
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions node/src/wallet.rs
Expand Up @@ -686,18 +686,3 @@ impl Utxo {
self.receiver.value
}
}

fn shuffler<T>(
ctx: &mut T,
random: u64,
a: impl FnOnce(&mut T) -> (),
b: impl FnOnce(&mut T) -> (),
) {
if random % 2 == 0 {
a(ctx);
b(ctx);
} else {
b(ctx);
a(ctx);
}
}

0 comments on commit b255845

Please sign in to comment.