Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbf1fa67

Browse files
author
Audio
committed
fix: refactoring errors and linting
1 parentca833a3 commitbf1fa67

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

‎lib/account.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ module.exports = function(getRequest, apiKey) {
159159

160160
constqueryObject={
161161
module, action, address, apiKey
162-
}
162+
};
163+
163164
varquery=newURLSearchParams(queryObject).toString();
164165
returngetRequest(query);
165166
},

‎lib/block.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = function(getRequest, apiKey) {
1414
}
1515
constqueryObject={
1616
module, action, address, blockno, apiKey
17-
}
17+
};
1818
varquery=newURLSearchParams(queryObject).toString();
1919
returngetRequest(query);
2020
}

‎lib/proxy.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ module.exports =function(getRequest, apiKey) {
196196
constaction='eth_getStorageAt';
197197
constqueryObject={
198198
module, action, apiKey, address, position, tag
199-
}
199+
};
200200
varquery=newURLSearchParams(queryObject).toString();
201201
returngetRequest(query);
202202
},
@@ -234,7 +234,7 @@ module.exports =function(getRequest, apiKey) {
234234
constaction='eth_estimateGas';
235235
constqueryObject={
236236
module, action, apiKey, to, value, gasPrice, gas
237-
}
237+
};
238238
varquery=newURLSearchParams(queryObject).toString();
239239
returngetRequest(query);
240240
},

‎lib/stats.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = function(getRequest, apiKey) {
3838
constaction='ethsupply';
3939
constqueryObject={
4040
module, action, apiKey
41-
}
41+
};
4242
varquery=newURLSearchParams(queryObject).toString();
4343
returngetRequest(query);
4444
},
@@ -52,7 +52,7 @@ module.exports = function(getRequest, apiKey) {
5252
ethprice(){
5353
constmodule='stats';
5454
constaction='ethprice';
55-
constqueryOBject={
55+
constqueryObject={
5656
module, action, apiKey
5757
};
5858
varquery=newURLSearchParams(queryObject).toString();

‎lib/transaction.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = function(getRequest, apiKey) {
1111
constqueryObject={
1212
module, action, txhash, apiKey
1313
};
14-
varquery=newURLSearchParams(queryObject).toString()
14+
varquery=newURLSearchParams(queryObject).toString();
1515
returngetRequest(query);
1616
}
1717
};

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp