Skip to content

Commit 631b769

Browse files
committed
use correct address format
1 parent dae7aa7 commit 631b769

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/bitsofproof/example/Simple.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ else if ( answer.equals ("7") )
218218
{
219219
System.console ().printf ("Address: ");
220220
List<byte[]> match = new ArrayList<byte[]> ();
221-
match.add (AddressConverter.fromSatoshiStyle (System.console ().readLine (), 0x0));
221+
match.add (AddressConverter.fromSatoshiStyle (System.console ().readLine (), api.isProduction () ? 0x0 : 0x6f));
222222
api.scanTransactions (match, UpdateMode.all, 0, new TransactionListener ()
223223
{
224224
@Override

0 commit comments

Comments
 (0)