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 #105

Merged
merged 1 commit into from
Aug 26, 2023
Merged
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Zingo PC is written in Electron/Javascript and can be build from source. It will also automatically compile the Rust SDK needed to run zingo-pc.

#### Pre-Requisites
You need to have the following software installed before you can build Zingo PC Fullnode
You need to have the following software installed before you can build Zingo PC

* [Nodejs recommended version: v16.16.0 (LTS) ](https://nodejs.org/en/blog/release/v16.16.0)
* [Yarn](https://yarnpkg.com)
Expand Down
2 changes: 1 addition & 1 deletion src/root/Routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class Routes extends React.Component<Props & RouteComponentProps, AppState> {
// 1. Check if the wallet is encrypted and locked
// 2. If it is, open the password dialog
// 3. Attempt to unlock wallet.
// a. If unlock suceeds, do the callback
// a. If unlock succeeds, do the callback
// b. If the unlock fails, show an error
// 4. If wallet is not encrypted or already unlocked, just call the successcallback.
openPasswordAndUnlockIfNeeded = (successCallback: () => void) => {
Expand Down
8 changes: 4 additions & 4 deletions src/rpc/rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export default class RPC {
info.connections = 1;
info.version = `${infoJSON.vendor}/${infoJSON.git_commit.substring(0, 6)}/${infoJSON.version}`;
//info.zcashdVersion = infoJSON.zcashd_version;
info.zcashdVersion = "Not Avaiable";
info.zcashdVersion = "Not Available";
info.currencyName = info.testnet ? "TAZ" : "ZEC";
info.solps = 0;

Expand Down Expand Up @@ -821,10 +821,10 @@ export default class RPC {
});

// If you send yourself transactions, the underlying SDK doesn't handle it very well, so
// we supress these in the UI to make things a bit clearer.
// we suppress these in the UI to make things a bit clearer.
//txlist = txlist.filter((tx) => !(tx.type === "sent" && tx.amount < 0 && tx.detailedTxns.length === 0));

// We need to group transactions that have the same (txid and send/recive), for multi-part memos
// We need to group transactions that have the same (txid and send/receive), for multi-part memos
const m = new Map<string, Transaction[]>();
txlist.forEach((tx) => {
const key: string = tx.txid + tx.type;
Expand Down Expand Up @@ -934,7 +934,7 @@ export default class RPC {
}

// Calculate ETA.
let secondsPerComputation: number = 3; // defalt
let secondsPerComputation: number = 3; // default
if (progressJSON.progress > 0) {
const currentTimeSeconds: number = new Date().getTime() / 1000;
secondsPerComputation = (currentTimeSeconds - startTimeSeconds) / progressJSON.progress;
Expand Down