fixed addremainder

This commit is contained in:
AZ
2017-01-22 14:08:42 +01:00
parent 5d1e4aae0c
commit a1a5a1de8f
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -783,9 +783,9 @@ public class IotaAPI extends IotaAPICoreProxy {
final String remainderAddress,
final List<String> signatureFragments) throws NotEnoughBalanceException {
long totalTransferValue = totalValue;
for (int i = 0; i < inputs.size(); i++) {
long thisBalance = inputs.get(i).getBalance();
long totalTransferValue = totalValue;
long toSubtract = 0 - thisBalance;
long timestamp = (long) Math.floor(Calendar.getInstance().getTimeInMillis() / 1000);