fixed small extension

This commit is contained in:
pinpong 2017-02-05 20:03:20 +01:00
parent cdea177ebd
commit ecf1e5d58f

View File

@ -168,7 +168,7 @@ public class IotaAPICore {
}
public GetAttachToTangleResponse attachToTangle(String trunkTransaction, String branchTransaction, Integer minWeightMagnitude, String... trytes) throws InvalidTrytesException {
if(InputValidator.isArrayOfTrytes(trytes)){
if(!InputValidator.isArrayOfTrytes(trytes)){
throw new InvalidTrytesException();
}