mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-12 18:25:51 +00:00
FullPrunedBlockChain: fixed typo
s/rage/range/g
This commit is contained in:
parent
86c5449ba2
commit
384be446ce
@ -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())
|
// 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.
|
// 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)
|
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) {
|
if (isCoinBase) {
|
||||||
coinbaseValue = valueOut;
|
coinbaseValue = valueOut;
|
||||||
} else {
|
} 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())
|
// 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.
|
// 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)
|
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) {
|
if (isCoinBase) {
|
||||||
coinbaseValue = valueOut;
|
coinbaseValue = valueOut;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user