wallet: Fix typo in comments; Simplify assert

This commit is contained in:
MarcoFalke
2020-07-11 13:56:13 +02:00
parent 5f96bce9b7
commit facd7dd3d1
5 changed files with 7 additions and 7 deletions

View File

@@ -135,7 +135,7 @@ void DoCheck(const std::string& prv, const std::string& pub, int flags, const st
// When the descriptor is hardened, evaluate with access to the private keys inside.
const FlatSigningProvider& key_provider = (flags & HARDENED) ? keys_priv : keys_pub;
// Evaluate the descriptor selected by `t` in poisition `i`.
// Evaluate the descriptor selected by `t` in position `i`.
FlatSigningProvider script_provider, script_provider_cached;
std::vector<CScript> spks, spks_cached;
DescriptorCache desc_cache;