Skip to content

Commit

Permalink
Use correct public key (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihajlo-Pavlovic authored Nov 17, 2023
1 parent a0ecc5d commit 8d640d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/dkg.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion services/blockchain-service/blockchain-service-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class BlockchainServiceBase {
async prepareTransaction(contractInstance, functionName, args, blockchain) {
const publicKey = await this.getPublicKey(blockchain);
const gasLimit = await contractInstance.methods[functionName](...args).estimateGas({
from: blockchain.publicKey,
from: publicKey,
});

const encodedABI = await contractInstance.methods[functionName](...args).encodeABI();
Expand Down

0 comments on commit 8d640d2

Please sign in to comment.