Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

Commit

Permalink
Added the -d option that sets a default seed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Coulter authored and Tim Coulter committed Mar 24, 2016
1 parent d374a4b commit 2eb6057
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/testrpc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ function parseAccounts(accounts) {
return ret;
}

if (argv.d || argv.deterministic) {
argv.s = "TestRPC is awesome!";
}

TestRPC.startServer(console, {
port: argv.p || argv.port,
debug: argv.d || argv.debug,
Expand Down

0 comments on commit 2eb6057

Please sign in to comment.