Skip to content

Commit

Permalink
use realistic phlolimit
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Jul 17, 2020
1 parent c1d638a commit 3c11280
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rchat/chain_replica.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ async function main(argv, env, { timer, fsp, postgres, grpcLib }) {
const deployService = rnodeDeploy({ grpcLib, host: env.RNODE || '127.0.0.1:40401', protoSchema });
const secretKey = Buffer.from(env.SECRET_KEY, 'hex');
const validafterblocknumber = parseInt(env.BLOCKNUM) || -1; // TODO: warn if missing?
const phlolimit = 10e3;
const phlolimit = 10e7;
console.log({ validafterblocknumber, phlolimit });
dest = chain_dest(secretKey, deployService, { validafterblocknumber, phlolimit });
} else {
if (!filename) {
Expand Down

0 comments on commit 3c11280

Please sign in to comment.