diff --git a/integration_tests/helpers/walletProcess.js b/integration_tests/helpers/walletProcess.js index b916a3223b..906aae0072 100644 --- a/integration_tests/helpers/walletProcess.js +++ b/integration_tests/helpers/walletProcess.js @@ -291,8 +291,11 @@ class WalletProcess { const overrides = this.getOverrides(); Object.keys(overrides).forEach((k) => { - args.push("-p"); - args.push(`${k}=${overrides[k]}`); + let v = overrides[k]; + if (typeof v !== "undefined") { + args.push("-p"); + args.push(`${k}=${v}`); + } }); // Append command arguments