Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 6241a01

Browse files
authored
Merge pull request #19 from toonsevrin/patch-1
Patch 1
2 parents 35b0647 + 7f5910b commit 6241a01

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
[![Build Status](https://travis-ci.org/iotaledger/iota.lib.java.svg?branch=dev)](https://travis-ci.org/iotaledger/iota.lib.java)
1+
[![Build Status](https://travis-ci.org/iotaledger/iota.lib.java.svg?branch=master)](https://travis-ci.org/iotaledger/iota.lib.java)
22

33

4-
##Introduction
4+
## Introduction
55

66
The JOTA library is a simple Java wrapper around [[IOTA]](http://www.iotatoken.com/) Node's JSON-REST HTTP interface.
77

@@ -18,7 +18,7 @@ A list of all *IOTA* JSON-REST API commands currently supported by jota wrapper
1818
JOTA java wrapper is being designed to be thread-safe and simplest as possible in order to be easily mantainable, accordingly with the ongoing natural evolution of IOTA'api.
1919
All the boilerplate code for connecting to the node rest interface has been eliminated using Retrofit.
2020

21-
##Technologies & dependencies
21+
## Technologies & dependencies
2222

2323
The JOTA library has been designed to be used with Java6+, in order to promote compatibility with Android.
2424

@@ -31,7 +31,7 @@ Other dependencies:
3131
* Simple Logging Facade for Java 1.7.21 [[link]](http://www.slf4j.org/)
3232
* Apache Commons Lang 3.3.2 [[link]](http://commons.apache.org/proper/commons-lang/)
3333

34-
##Getting started <a name="getting-started"></a>
34+
## Getting started <a name="getting-started"></a>
3535

3636
Connect to your local node with the default settings is quite straightforward: it requires only 2 lines of code. For example, in order to fetch the Node Info:
3737

@@ -54,20 +54,26 @@ In order to communicate with *IOTA node*, JOTA needs to be aware of your node's
5454
iota.node.host=127.0.0.1
5555
iota.node.port=14265
5656

57-
Jota is still *not* in the central maven repository.
57+
Jota is still *not* in the central maven repository.
5858

59-
##Warning
59+
60+
## Warning
6061
- This is pre-release software!
6162
- There may be performance and stability issues.
6263
- You may loose all your money :)
6364
- Please report any issues using the <a href="https://github.com/iotaledger/iota.lib.java/issues">Issue Tracker</a>
6465

65-
That's it!
66-
67-
##Examples
66+
## Examples
6867

6968
There's an extensive list of test coverages on the src/test/java package of the project that can be used as reference.
7069

71-
##Supporting the project
70+
## Documentation
71+
72+
A hosted version of the javadoc for the latest release can be found [here](https://iotaledger.github.io/iota.lib.java/javadoc/)
73+
74+
75+
## Supporting the project
7276

7377
If JOTA has been useful to you and you feel like contributing, consider posting a bug report or a pull request.
78+
79+
That's it!

src/main/java/jota/IotaAPI.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,8 @@ public List<String> prepareTransfers(String seed, int security, final List<Trans
438438
return addRemainder(seed, security, inputs, bundle, tag, totalValue, remainder, signatureFragments);
439439
// Case 1: user provided inputs
440440
// Validate the inputs by calling getBalances
441+
if(!validateInputs)
442+
return addRemainder(seed, security, inputs, bundle, tag, totalValue, remainder, signatureFragments);
441443
if (inputs != null && !inputs.isEmpty()) {
442444

443445
// Get list if addresses of the provided inputs

0 commit comments

Comments
 (0)