Skip to content

Commit

Permalink
[wip] Test u32 conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
stackchain committed Oct 18, 2021
1 parent 13f5d2e commit 6db0e8e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1781,9 +1781,9 @@ public final void transactionBuilderSetAuxiliaryData(String txBuilder, String au
}

@ReactMethod
public final void transactionBuilderNew(String linearFee, String minimumUtxoVal, String poolDeposit, String keyDeposit, Integer maxValueSize, Integer maxTxSize, Promise promise) {
public final void transactionBuilderNew(String linearFee, String minimumUtxoVal, String poolDeposit, String keyDeposit, Double maxValueSize, Double maxTxSize, Promise promise) {
Native.I
.transactionBuilderNew(new RPtr(linearFee), new RPtr(minimumUtxoVal), new RPtr(poolDeposit), new RPtr(keyDeposit), maxValueSize, maxTxSize)
.transactionBuilderNew(new RPtr(linearFee), new RPtr(minimumUtxoVal), new RPtr(poolDeposit), new RPtr(keyDeposit), maxValueSize.longValue(), maxTxSize.longValue())
.map(RPtr::toJs)
.pour(promise);
}
Expand Down

0 comments on commit 6db0e8e

Please sign in to comment.