This commit is contained in:
Igor Lins e Silva
2023-09-24 19:13:08 -03:00
parent ce6f307bbe
commit d259008cb4
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -23,11 +23,11 @@ export function getAmpqUrl(config): string {
}
const u = encodeURIComponent(config.user);
const p = encodeURIComponent(config.pass);
const v = encodeURIComponent(config.vhost)
const v = encodeURIComponent(config.vhost);
console.log(`max frame: ${frameMaxValue}`);
return `amqp://${u}:${p}@${config.host}/${v}?frameMax=${frameMaxValue}`;
}
async function createChannels(connection) {
try {
const channel = await connection.createChannel();
+2
View File
@@ -529,6 +529,8 @@ export default class MainDSWorker extends HyperionWorker {
routeToPool(trace, headers) {
console.log(headers.block_num, headers.signatures);
let first_action;
if (trace['action_traces'][0] && trace['action_traces'][0].length === 2) {
first_action = trace['action_traces'][0][1];