diff --git a/src/test/java/im/status/wallet/WalletAppletCommandSet.java b/src/test/java/im/status/wallet/WalletAppletCommandSet.java index 45d272c..fd8acf2 100644 --- a/src/test/java/im/status/wallet/WalletAppletCommandSet.java +++ b/src/test/java/im/status/wallet/WalletAppletCommandSet.java @@ -38,7 +38,7 @@ public class WalletAppletCommandSet { } public ResponseAPDU getStatus() throws CardException { - CommandAPDU getStatus = new CommandAPDU(0x80, WalletApplet.INS_GET_STATUS, 0, 0); + CommandAPDU getStatus = new CommandAPDU(0x80, WalletApplet.INS_GET_STATUS, 0, 0, 256); return apduChannel.transmit(getStatus); } @@ -167,7 +167,7 @@ public class WalletAppletCommandSet { } public ResponseAPDU generateMnemonic(int cs) throws CardException { - CommandAPDU generateMnemonic = new CommandAPDU(0x80, WalletApplet.INS_GENERATE_MNEMONIC, cs, 0); + CommandAPDU generateMnemonic = new CommandAPDU(0x80, WalletApplet.INS_GENERATE_MNEMONIC, cs, 0, 256); return apduChannel.transmit(generateMnemonic); } diff --git a/src/test/java/im/status/wallet/WalletAppletTest.java b/src/test/java/im/status/wallet/WalletAppletTest.java index 07aa011..1752b56 100644 --- a/src/test/java/im/status/wallet/WalletAppletTest.java +++ b/src/test/java/im/status/wallet/WalletAppletTest.java @@ -69,7 +69,7 @@ public class WalletAppletTest { } } - Card apduCard = cardTerminal.connect("T=1"); + Card apduCard = cardTerminal.connect("*"); apduChannel = apduCard.getBasicChannel(); }