3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-12 10:15:52 +00:00

FullPrunedBlockChain: fixed typo

s/rage/range/g
This commit is contained in:
Harald Hoyer 2014-06-03 14:09:32 +02:00 committed by Mike Hearn
parent 86c5449ba2
commit 384be446ce

View File

@ -224,7 +224,7 @@ public class FullPrunedBlockChain extends AbstractBlockChain {
// All values were already checked for being non-negative (as it is verified in Transaction.verify())
// but we check again here just for defence in depth. Transactions with zero output value are OK.
if (valueOut.signum() < 0 || valueOut.compareTo(NetworkParameters.MAX_MONEY) > 0)
throw new VerificationException("Transaction output value out of rage");
throw new VerificationException("Transaction output value out of range");
if (isCoinBase) {
coinbaseValue = valueOut;
} else {
@ -346,7 +346,7 @@ public class FullPrunedBlockChain extends AbstractBlockChain {
// All values were already checked for being non-negative (as it is verified in Transaction.verify())
// but we check again here just for defence in depth. Transactions with zero output value are OK.
if (valueOut.signum() < 0 || valueOut.compareTo(NetworkParameters.MAX_MONEY) > 0)
throw new VerificationException("Transaction output value out of rage");
throw new VerificationException("Transaction output value out of range");
if (isCoinBase) {
coinbaseValue = valueOut;
} else {