mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-20 09:28:37 +00:00
fix fundAccount TS errors
This commit is contained in:
parent
f516dec200
commit
dbb6bca1bb
@ -1,4 +1,4 @@
|
||||
import Web3 = require("web3");
|
||||
import Web3 from "web3";
|
||||
|
||||
const TARGET = 0x7FFFFFFFFFFFFFFF;
|
||||
|
||||
@ -23,9 +23,9 @@ export default async function fundAccount(web3: Web3, accountAddress: string, co
|
||||
|
||||
return web3.eth.sendTransaction({
|
||||
from: coinbaseAddress,
|
||||
gasPrice,
|
||||
nonce: lastNonce,
|
||||
to: accountAddress,
|
||||
value: targetBalance.sub(accountBalance),
|
||||
gasPrice: gasPrice,
|
||||
nonce: lastNonce
|
||||
value: targetBalance.sub(accountBalance).toString(),
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user