Merge pull request #7 from rex4539/fix-typos

Fix typos
This commit is contained in:
adityapk00
2019-09-30 12:23:11 -07:00
committed by GitHub
4 changed files with 11 additions and 11 deletions

View File

@@ -614,10 +614,10 @@ impl LightClient {
})
);
// Get the total transparent recieved
// Get the total transparent received
let total_transparent_received = v.utxos.iter().map(|u| u.value).sum::<u64>();
if total_transparent_received > v.total_transparent_value_spent {
// Create a input transaction for the transparent value as well.
// Create an input transaction for the transparent value as well.
txns.push(object!{
"block_height" => v.block,
"txid" => format!("{}", v.txid),
@@ -646,7 +646,7 @@ impl LightClient {
// First, clear the state from the wallet
self.wallet.clear_blocks();
// Then set the inital block
// Then set the initial block
self.set_wallet_initial_state();
// Then, do a sync, which will force a full rescan from the initial state