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

chore: fix some comments #647

Open
wants to merge 1 commit into
base: main
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 qa/rpc-tests/sc_cert_orphans.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def run_test(self):
assert_equal(True, tx2 in self.nodes[0].getrawmempool())

# (10) Node0 invalidates one more block, tx1, cert1, cert2 are restored in mempool but tx2 disappears
# tx2 is removed from mempool because it spends cert2 change that is is now unconfirmed
# tx2 is removed from mempool because it spends cert2 change that is now unconfirmed
block_inv = self.nodes[0].getbestblockhash()
mark_logs("Node 0 invalidates latest block with height = {}".format(self.nodes[0].getblockcount()), self.nodes, DEBUG_MODE)
self.nodes[0].invalidateblock(block_inv)
Expand Down
2 changes: 1 addition & 1 deletion qa/rpc-tests/sc_csw_nullifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def run_test(self):
n2_bal = self.nodes[2].z_gettotalbalance()['total']
mark_logs("Node2 has {} confirmed balance".format(n2_bal), self.nodes, DEBUG_MODE)

# check we have still 1.0 coin in the the SC balance (12-6-4-1=1)
# check we have still 1.0 coin in the SC balance (12-6-4-1=1)
sc_bal_n2 = self.nodes[2].getscinfo(scid)['items'][0]['balance']
mark_logs("sc balance from Node2 view is: {}".format(sc_bal_n2), self.nodes, DEBUG_MODE)
assert_equal(Decimal(sc_bal_n2), Decimal('1.0'))
Expand Down
4 changes: 2 additions & 2 deletions qa/rpc-tests/sc_ft_and_mbtr_fees_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def run_test_with_scversion(self, scversion, ceasable = True):
self.sync_all()

### Create a network split:
### 1. disconnect nodes 1 and 2, so that the the nets are nodes 0, 1 and 2, 3
### 1. disconnect nodes 1 and 2, so that the nets are nodes 0, 1 and 2, 3
### 2. in the first round, node 0 sends many small txs to sc; save the node balances
### 3. node 2 mines block
### 4. rejoin the network
Expand Down Expand Up @@ -403,7 +403,7 @@ def run_test_non_ceasable(self, scversion, ceasable = True, old_version = True):
self.sync_all()

### Unlike for ceasing sidechains, we can already create a split:
### 1. disconnect nodes 1 and 2, so that the the nets are nodes 0, 1 and 2, 3
### 1. disconnect nodes 1 and 2, so that the nets are nodes 0, 1 and 2, 3
### 2. node 0 sends many small txs to sc; save the node balances
### 3. node 2 generate a certificate for epoch 0
### 4. node 2 mines a block to validate the certificate and ends epoch 0
Expand Down
2 changes: 1 addition & 1 deletion src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1281,7 +1281,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
LogPrintf("Startup time: %s\n", DateTimeStrFormat("%Y-%m-%d %H:%M:%S", GetTime()));
LogPrintf("Default data directory %s\n", GetDefaultDataDir().string());
LogPrintf("Using data directory %s\n", GetDataDir().string());
// This print might not be correct, since at this point the options in the the zen.conf have already been read, and if a custom datadir has
// This print might not be correct, since at this point the options in the zen.conf have already been read, and if a custom datadir has
// ben specified, the config file would be erroneously printed to be there
// LogPrintf("Using config file %s\n", GetConfigFile().string());
LogPrintf("Using at most %i connections (%i file descriptors available)\n", nMaxConnections, nFD);
Expand Down
2 changes: 1 addition & 1 deletion src/snark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Copyright (c) 2012-2014 SCIPR Lab and contributors (see [AUTHORS] file).
[TOC]

<!---
NOTE: the file you are reading is in Markdown format, which is is fairly readable
NOTE: the file you are reading is in Markdown format, which is fairly readable
directly, but can be converted into an HTML file with much nicer formatting.
To do so, run "make doc" (this requires the python-markdown package) and view
the resulting file README.html. Alternatively, view the latest HTML version at
Expand Down