mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-24 14:50:57 +01:00
Remove debug output that slipped in with the last commit.
This commit is contained in:
parent
f3733cae3b
commit
b4e1e2d9ef
1 changed files with 2 additions and 3 deletions
|
@ -376,10 +376,9 @@ public final class CoinFormat {
|
|||
}
|
||||
}
|
||||
|
||||
// convert to non-arabic digits
|
||||
// Convert to non-arabic digits.
|
||||
if (zeroDigit != '0') {
|
||||
int offset = zeroDigit - '0';
|
||||
System.out.println(offset);
|
||||
for (int d = 0; d < str.length(); d++) {
|
||||
char c = str.charAt(d);
|
||||
if(Character.isDigit(c))
|
||||
|
@ -432,7 +431,7 @@ public final class CoinFormat {
|
|||
for (char c : satoshis.toCharArray())
|
||||
if (!Character.isDigit(c))
|
||||
throw new NumberFormatException("illegal character: " + c);
|
||||
long value = Long.parseLong(satoshis); // non-arabic digits allowed here
|
||||
long value = Long.parseLong(satoshis); // Non-arabic digits allowed here.
|
||||
if (first == negativeSign)
|
||||
value = -value;
|
||||
return value;
|
||||
|
|
Loading…
Add table
Reference in a new issue