Skip to content

Commit 330f156

Browse files
committed
ref(json_rpc_client): improve copies
1 parent 2391003 commit 330f156

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/cli/node/json_rpc_client.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ pub fn get_supply_info(addr: SocketAddr) -> Result<(), anyhow::Error> {
124124
log::info!("{supply_info:?}");
125125

126126
println!(
127-
"\nSupply info at {} (epoch {}):\n",
127+
"\nSupply info as of {} (epoch {}):\n",
128128
pretty_print(supply_info.current_time as i64, 0),
129129
supply_info.epoch
130130
);
@@ -171,13 +171,13 @@ pub fn get_supply_info(addr: SocketAddr) -> Result<(), anyhow::Error> {
171171

172172
println!();
173173
println!(
174-
"{}% of all blocks so far have been reverted.",
174+
"{}% of epochs so far have received no block candidates, or the winning block was reverted.",
175175
(f64::from(supply_info.epoch - supply_info.blocks_minted) / f64::from(supply_info.epoch)
176176
* 100.0)
177177
.round() as u8
178178
);
179179
println!(
180-
"For more information about block rewards and staking, see:\nhttps://github.com/witnet/WIPs/blob/master/wip-0028.md"
180+
"For more information on block rewards and staking, please read:\nhttps://github.com/witnet/WIPs/blob/master/wip-0028.md"
181181
);
182182

183183
Ok(())
@@ -199,7 +199,7 @@ pub fn get_supply_info_2(addr: SocketAddr) -> Result<(), anyhow::Error> {
199199
log::info!("{supply_info:?}");
200200

201201
println!(
202-
"\nSupply info at {} (epoch {}):\n",
202+
"\nSupply info as of {} (epoch {}):\n",
203203
pretty_print(supply_info.current_time as i64, 0),
204204
supply_info.epoch
205205
);
@@ -249,17 +249,17 @@ pub fn get_supply_info_2(addr: SocketAddr) -> Result<(), anyhow::Error> {
249249

250250
println!();
251251
println!(
252-
"{}% of circulating supply is locked.",
252+
"{}% of circulating supply is time locked.",
253253
((locked_supply as f64 / (unlocked_supply + locked_supply) as f64) * 100.0).round() as u8
254254
);
255255
println!(
256-
"{}% of all blocks so far have been reverted.",
256+
"{}% of epochs so far have received no block candidates, or the winning block was reverted.",
257257
(f64::from(supply_info.epoch - supply_info.blocks_minted) / f64::from(supply_info.epoch)
258258
* 100.0)
259259
.round() as u8
260260
);
261261
println!(
262-
"For more information about block rewards and staking, see:\nhttps://github.com/witnet/WIPs/blob/master/wip-0028.md"
262+
"For more information on block rewards and staking, please read:\nhttps://github.com/witnet/WIPs/blob/master/wip-0028.md"
263263
);
264264

265265
Ok(())

0 commit comments

Comments
 (0)