File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
const assert = require ( 'chai' ) . assert ;
3
3
const init = require ( '../.' ) . init ;
4
- describe ( 'testnet eth' , function ( ) {
5
- xit ( 'eth.getminedblocks' , function ( done ) {
6
- var api = init ( 'YourApiKeyToken' , 'morden' ) ;
4
+ describe ( 'testnet eth' , function ( ) {
5
+ xit ( 'eth.getminedblocks' , function ( done ) {
6
+ var api = init ( 'YourApiKeyToken' , 'morden' ) ;
7
7
//In testnet there are no mined blocks by this account
8
8
//reference - https://testnet.etherscan.io/api?module=account&action=getminedblocks&address=0x9dd134d14d1e65f84b706d6f205cd5b1cd03a46b&blocktype=blocks&apikey=YourApiKeyToken
9
9
// var txlist = api.account.getminedblocks('0x9dd134d14d1e65f84b706d6f205cd5b1cd03a46b');
10
10
// will use other address instead
11
11
var txlist = api . account . getminedblocks ( '0x3D6F8823Ad21CD299814B62D198d9001E67E20B3' ) ;
12
- txlist . then ( function ( res ) {
12
+ txlist . then ( function ( res ) {
13
13
assert . ok ( res ) ;
14
14
done ( ) ;
15
15
} ) ;
You can’t perform that action at this time.
0 commit comments