From d4bc87b96188e87220d38a37f9aaae59fa140285 Mon Sep 17 00:00:00 2001 From: Anton Wiedermann Date: Wed, 18 Sep 2019 22:47:12 +0200 Subject: [PATCH] issue #104 - renamed fee to max fee --- src/e2e/java/io/proximax/sdk/steps/TransferSteps.java | 2 +- src/main/resources/features/transfer.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/e2e/java/io/proximax/sdk/steps/TransferSteps.java b/src/e2e/java/io/proximax/sdk/steps/TransferSteps.java index 800bc7cc..5d9e5fcb 100644 --- a/src/e2e/java/io/proximax/sdk/steps/TransferSteps.java +++ b/src/e2e/java/io/proximax/sdk/steps/TransferSteps.java @@ -64,7 +64,7 @@ public void grantFundsToAccount(String recipientName, BigDecimal amount, String TransferUtils.announce(api, getSeedAccount(), tx, getTimeoutSeconds()); } - @When("{string} sends {bigdecimal} of {string} to {string} with plaintext message {string} and fee {bigdecimal}") + @When("{string} sends {bigdecimal} of {string} to {string} with plaintext message {string} and max fee {bigdecimal}") public void sendMosaicWithPlaintextMessage(String sender, BigDecimal amount, String mosaicName, String recipientName, String message, BigDecimal fee) throws InterruptedException, ExecutionException { Mosaic mosaic = getMosaic(mosaicName, amount); diff --git a/src/main/resources/features/transfer.feature b/src/main/resources/features/transfer.feature index 63e8d237..9a0f06bc 100644 --- a/src/main/resources/features/transfer.feature +++ b/src/main/resources/features/transfer.feature @@ -5,6 +5,6 @@ Feature: Transfer mosaics and messages Scenario: Send network currency Given "Alice" is granted 10.0 of "network currency" - When "Alice" sends 8.5 of "network currency" to "Bob" with plaintext message "hi Bob" and fee 1.0 + When "Alice" sends 8.5 of "network currency" to "Bob" with plaintext message "hi Bob" and max fee 1.0 Then "Alice" has 0.5 of "network currency" And "Bob" has 8.5 of "network currency"