mirror of
https://github.com/gosticks/iota.lib.java.git
synced 2025-10-16 11:45:37 +00:00
fixed small extension
This commit is contained in:
parent
cdea177ebd
commit
ecf1e5d58f
@ -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();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user