From 855938720df3c92ed948f11cd269331348409232 Mon Sep 17 00:00:00 2001 From: AndrewBlox Date: Thu, 14 Jul 2022 17:03:27 +0300 Subject: [PATCH] update payload text --- dist/tsc/commands/actions/BuildTransactionAction.js | 6 +++--- src/commands/actions/BuildTransactionAction.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/tsc/commands/actions/BuildTransactionAction.js b/dist/tsc/commands/actions/BuildTransactionAction.js index 83d637d..2c67345 100644 --- a/dist/tsc/commands/actions/BuildTransactionAction.js +++ b/dist/tsc/commands/actions/BuildTransactionAction.js @@ -38,7 +38,7 @@ class BuildTransactionAction extends BuildSharesAction_1.BuildSharesAction { '\n\t share public keys ➡️ array[\n' + payload[2].map((publicKey, index) => `\n\t [${index}]: ${publicKey}\n`).join('') + ' ]\n' + - '\n\t share private keys ➡️ array[\n' + + '\n\t share encrypted ➡️ array[\n' + payload[3].map((privateKey, index) => `\n\t [${index}]: ${privateKey}\n`).join('') + ' ]\n' + `\n\t ssv amount ➡️ ${payload[4]}\n` + @@ -47,10 +47,10 @@ class BuildTransactionAction extends BuildSharesAction_1.BuildSharesAction { const message = '✳️ Transaction payload have the following structure encoded as ABI Params: \n' + '\n[\n' + '\n\tvalidatorPublicKey ➡️ String\n' + - '\n\toperators IDs ➡️ array[, ..., ]\n' + + '\n\toperatorsIDs ➡️ array[, ..., ]\n' + '\n\tsharePublicKeys ➡️ array[, ..., ]\n' + '\n\tshareEncrypted ➡️ array[, ..., ]\n' + - '\n\tssv amount ➡️ number in Wei\n' + + '\n\tssvAmount ➡️ number in Wei\n' + '\n]\n\n' + '\n--------------------------------------------------------------------------------\n' + `\n✳️ Transaction explained payload data: \n${explainedPayload}\n` + diff --git a/src/commands/actions/BuildTransactionAction.ts b/src/commands/actions/BuildTransactionAction.ts index 59f36c2..67a1571 100644 --- a/src/commands/actions/BuildTransactionAction.ts +++ b/src/commands/actions/BuildTransactionAction.ts @@ -72,7 +72,7 @@ export class BuildTransactionAction extends BuildSharesAction { '\n\t share public keys ➡️ array[\n' + payload[2].map((publicKey: string, index: number) => `\n\t [${index}]: ${publicKey}\n`).join('') + ' ]\n' + - '\n\t share private keys ➡️ array[\n' + + '\n\t share encrypted ➡️ array[\n' + payload[3].map((privateKey: string, index: number) => `\n\t [${index}]: ${privateKey}\n`).join('') + ' ]\n' + `\n\t ssv amount ➡️ ${payload[4]}\n` + @@ -82,10 +82,10 @@ export class BuildTransactionAction extends BuildSharesAction { const message = '✳️ Transaction payload have the following structure encoded as ABI Params: \n' + '\n[\n' + '\n\tvalidatorPublicKey ➡️ String\n' + - '\n\toperators IDs ➡️ array[, ..., ]\n' + + '\n\toperatorsIDs ➡️ array[, ..., ]\n' + '\n\tsharePublicKeys ➡️ array[, ..., ]\n' + '\n\tshareEncrypted ➡️ array[, ..., ]\n' + - '\n\tssv amount ➡️ number in Wei\n' + + '\n\tssvAmount ➡️ number in Wei\n' + '\n]\n\n' + '\n--------------------------------------------------------------------------------\n' + `\n✳️ Transaction explained payload data: \n${explainedPayload}\n` +