mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-25 07:07:39 +01:00
FullPrunedBlockChain: fixed typo
s/rage/range/g
This commit is contained in:
parent
86c5449ba2
commit
384be446ce
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue