We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 177b957 commit 2ca7904Copy full SHA for 2ca7904
src/main/java/org/tron/walletcli/Client.java
@@ -1255,7 +1255,9 @@ private void unfreezeBalance(String[] parameters)
1255
byte[] ownerAddress = null;
1256
int resourceCode = 0;
1257
byte[] receiverAddress = null;
1258
- if (parameters.length == 2) {
+ if (parameters.length == 1) {
1259
+ resourceCode = Integer.parseInt(parameters[index++]);
1260
+ } else if (parameters.length == 2) {
1261
ownerAddress = getAddressBytes(parameters[index]);
1262
if (ownerAddress != null) {
1263
index++;
0 commit comments