Skip to content

Commit f80be91

Browse files
committed
fix build
1 parent d9fefd2 commit f80be91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/remix-ide/src/app/plugins/solidity-script.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ export class SolidityScript extends Plugin {
8686
data: bytecode
8787
}
8888
let receipt
89+
const signer = await web3.getSigner(tx.from || 0)
8990
try {
90-
const signer = await web3.getSigner(tx.from || 0)
9191
const { hash } = await signer.sendTransaction(tx)
9292
receipt = await web3.getTransactionReceipt(hash)
9393
} catch (e) {

0 commit comments

Comments
 (0)