Skip to content
Snippets Groups Projects
Commit 527a54a4 authored by Mahdi Yari's avatar Mahdi Yari
Browse files

Update index.js

parent 19b7cc6c
No related branches found
No related tags found
1 merge request!22Fix acchistory
......@@ -43,7 +43,7 @@ class Hive extends EventEmitter {
};
this[methodName] = (...args) => {
if (methodName === 'getAccountHistory' && args.length < 5) {
if (methodName === 'getAccountHistory' && args.length < 5 && methodParams.length > 4) {
methodParams.pop();
methodParams.pop();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment