Don't allow same transaction to be received multiple times (#2124)
* don't allow same transaction to be received multiple times * issues in other tests uncovered and fixed * allow tx_hex update function to operate without an account being specified, to allow finalize_tx function to work without an account being specified * rustfmt * fix to retrieve_txs * rustfmt
This commit is contained in:
@@ -293,7 +293,10 @@ mod wallet_tests {
|
||||
"-g",
|
||||
"Thanks, Yeast!",
|
||||
];
|
||||
execute_command(&app, test_dir, "wallet2", &client2, arg_vec)?;
|
||||
execute_command(&app, test_dir, "wallet2", &client2, arg_vec.clone())?;
|
||||
|
||||
// shouldn't be allowed to receive twice
|
||||
assert!(execute_command(&app, test_dir, "wallet2", &client2, arg_vec).is_err());
|
||||
|
||||
let arg_vec = vec![
|
||||
"grin",
|
||||
|
||||
Reference in New Issue
Block a user