Skip to content

Commit

Permalink
fix(connector-besu): avoid req.params repetition
Browse files Browse the repository at this point in the history
Signed-off-by: jordigiam <jordi.giron.amezcua@accenture.com>
  • Loading branch information
jordigiam authored and petermetz committed Feb 12, 2021
1 parent add9cd9 commit 64d6cf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -198,7 +198,7 @@ export class PluginLedgerConnectorBesu
const method: ContractSendMethod = methodRef(...req.params);

if (req.invocationType === EthContractInvocationType.CALL) {
const callOutput = await (method as any).call(...req.params);
const callOutput = await (method as any).call();
return { callOutput };
} else if (req.invocationType === EthContractInvocationType.SEND) {
if (isWeb3SigningCredentialNone(req.web3SigningCredential)) {

0 comments on commit 64d6cf1

Please sign in to comment.