Merge pull request #14 from m2049r/hotfix_priority

passing of transaction priority fixed
This commit is contained in:
m2049r 2017-08-22 10:56:07 +02:00 committed by GitHub
commit 110621824a
1 changed files with 4 additions and 3 deletions

View File

@ -179,14 +179,15 @@ public class Wallet {
long amount, int mixin_count,
PendingTransaction.Priority priority) {
disposePendingTransaction();
long txHandle = createTransactionJ(dst_addr, payment_id, amount, mixin_count, priority);
int _priority = priority.getValue();
long txHandle = createTransactionJ(dst_addr, payment_id, amount, mixin_count, _priority);
pendingTransaction = new PendingTransaction(txHandle);
return pendingTransaction;
}
private native long createTransactionJ(String dst_addr, String payment_id,
long mount, int mixin_count,
PendingTransaction.Priority priority);
long amount, int mixin_count,
int priority);
public PendingTransaction createSweepUnmixableTransaction() {