Merge pull request #320 from joincivil/feature/default-account

Fix web3 typing defaultAccount not allowing `undefined`
This commit is contained in:
Leonid 2018-01-16 13:34:14 +01:00 committed by GitHub
commit 0e3bd0c6c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -3,3 +3,4 @@
## v0.9.3 - _January 11, 2018_
* Add type for getData on a contract
* Fixed the `defaultAccount` not allowing for `undefined` value (#320)

View File

@ -170,7 +170,7 @@ declare module 'web3' {
gasPrice: BigNumber.BigNumber;
accounts: string[];
blockNumber: number;
defaultAccount: string;
defaultAccount?: string;
defaultBlock: Web3.BlockParam;
syncing: Web3.SyncingResult;
compile: {