diff options
| author | Russell Yanofsky <[email protected]> | 2017-12-20 18:41:12 -0500 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2018-01-08 15:17:14 -0500 |
| commit | ca9085afc53eb20c1fc745ae469e9587a05b7f24 (patch) | |
| tree | 6a24a3722451db06f974314923dc9d3ffa2893c1 /src/httpserver.cpp | |
| parent | Improve TestNodeCLI output parsing (diff) | |
| download | discoin-ca9085afc53eb20c1fc745ae469e9587a05b7f24.tar.xz discoin-ca9085afc53eb20c1fc745ae469e9587a05b7f24.zip | |
Prevent TestNodeCLI.args mixups
Change TestNodeCLI.__call__() to return a new instance instead of modifying the
existing instance. This way, it's possible to create different cli objects that
have their own options (for example -rpcwallet options to connect to different
wallets), and options set for a single call (`node.cli(options).method(args)`)
will no longer leak into future calls.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions