This commit is contained in:
Egor Aristov 2025-10-24 12:18:07 +03:00
parent c926bfa00c
commit 32ce397b69
Signed by: egor3f
GPG Key ID: 40482A264AAEC85F
2 changed files with 1 additions and 14 deletions

View File

@ -1,8 +0,0 @@
For all prompts:
- if you need to understand what project does, feel free to walk over files and analyze them
Common recommendations:
- dont write unnesesary comments if code is obvious
Recommendations on golang code style:
- avoid iota

View File

@ -169,12 +169,7 @@ abstract class IPCCommon {
}
};
try {
this.sendMsg({
type: MsgType.Call,
id,
method,
params,
});
this.sendMsg({type: MsgType.Call, id, method, params});
} catch (e) {
delete this.pendingCalls[id];
reject(new Error(`send call: ${e}`));