Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos in documentation files #1348

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/background/src/keyring/legacy/crypto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Buffer } from "buffer/";

/**
* This is similar to ethereum's key store.
* But, the encryped data is not the private key, but the mnemonic words.
* But, the encrypted data is not the private key, but the mnemonic words.
*/
export interface KeyStore {
version: "1.2";
Expand Down
2 changes: 1 addition & 1 deletion packages/background/src/recent-send-history/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1896,7 +1896,7 @@ export class RecentSendHistoryService {
]);
} else {
console.log("refunded", log.address);
// Transfer 토픽인 경우엔 ERC20의 tranfer 호출일텐데
// Transfer 토픽인 경우엔 ERC20의 transfer 호출일텐데
// 받을 토큰의 컨트랙트가 아닌 다른 컨트랙트에서 호출된 경우는 Swap을 실패한 것으로 추측
// 고로 실제로 받은 토큰의 컨트랙트 주소로 환불 정보에 저장한다.
history.trackError = "Swap failed";
Expand Down
12 changes: 6 additions & 6 deletions packages/background/src/secret-wasm/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
import {
GetPubkeyMsg,
GetTxEncryptionKeyMsg,
ReqeustEncryptMsg,
RequestEncryptMsg,
RequestDecryptMsg,
} from "./messages";
import { SecretWasmService } from "./service";
Expand All @@ -25,10 +25,10 @@ export const getHandler: (
env,
msg as GetPubkeyMsg
);
case ReqeustEncryptMsg:
return handleReqeustEncryptMsg(service, permissionInteractionService)(
case RequestEncryptMsg:
return handleRequestEncryptMsg(service, permissionInteractionService)(
env,
msg as ReqeustEncryptMsg
msg as RequestEncryptMsg
);
case RequestDecryptMsg:
return handleRequestDecryptMsg(service, permissionInteractionService)(
Expand Down Expand Up @@ -64,10 +64,10 @@ const handleGetPubkeyMsg: (
};
};

const handleReqeustEncryptMsg: (
const handleRequestEncryptMsg: (
service: SecretWasmService,
permissionInteractionService: PermissionInteractiveService
) => InternalHandler<ReqeustEncryptMsg> = (
) => InternalHandler<RequestEncryptMsg> = (
service,
permissionInteractionService
) => {
Expand Down