Rename NullifierType to ShieldedType.

This commit is contained in:
Sean Bowe
2018-04-25 17:55:33 -06:00
parent 2f23a656fb
commit 28d20bdb11
11 changed files with 43 additions and 43 deletions

View File

@@ -52,14 +52,14 @@ bool CCoinsViewDB::GetAnchorAt(const uint256 &rt, ZCIncrementalMerkleTree &tree)
return read;
}
bool CCoinsViewDB::GetNullifier(const uint256 &nf, NullifierType type) const {
bool CCoinsViewDB::GetNullifier(const uint256 &nf, ShieldedType type) const {
bool spent = false;
char dbChar;
switch (type) {
case SPROUT_NULLIFIER:
case SPROUT:
dbChar = DB_NULLIFIER;
break;
case SAPLING_NULLIFIER:
case SAPLING:
dbChar = DB_SAPLING_NULLIFIER;
break;
default: