Fix typos and cleanup

This commit is contained in:
Dimitris Apostolou
2018-11-04 22:38:52 +02:00
committed by GitHub
parent 416217e215
commit 0530212b21
8 changed files with 35 additions and 35 deletions

View File

@@ -47,7 +47,7 @@ const QString Utils::getDevAddr(Tx tx) {
return devAddr;
}
// t-Addr, find if it is going to a sprout or sapling address
// t-Addr, find if it is going to a Sprout or Sapling address
for (const ToFields& to : tx.toAddrs) {
devAddr = testnetAddrLookup(to.addr);
if (!devAddr.isEmpty()) {
@@ -55,7 +55,7 @@ const QString Utils::getDevAddr(Tx tx) {
}
}
// If this is a t-Addr -> t-Addr transaction, use the sapling address by default
// If this is a t-Addr -> t-Addr transaction, use the Sapling address by default
return testnetAddrLookup("ztestsapling");
} else {
// Mainnet doesn't have a fee yet!
@@ -74,4 +74,4 @@ double Utils::getDevFee() {
return 0;
}
}
double Utils::getTotalFee() { return getMinerFee() + getDevFee(); }
double Utils::getTotalFee() { return getMinerFee() + getDevFee(); }