Skip to content
Permalink
Browse files

Merge pull request #1004 from zpalmtree/created-delayed-transaction-i…

…nverted-conditional

Fix bug in handling of fee params in created delayed transaction
  • Loading branch information
brandonlehmann committed Jan 13, 2020
2 parents 37c41bf + 583bf69 commit 1fd306bbaa116a0ca8abc7aa679d6551230cfcd3
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/walletservice/PaymentServiceJsonRpcMessages.cpp
@@ -343,11 +343,11 @@ namespace PaymentService
uint64_t fixedFee;
double feePerByte;

if (!serializer(fixedFee, "fee"))
if (serializer(fixedFee, "fee"))
{
fee = WalletTypes::FeeType::FixedFee(fixedFee);
}
else if (!serializer(feePerByte, "feePerByte"))
else if (serializer(feePerByte, "feePerByte"))
{
fee = WalletTypes::FeeType::FeePerByte(feePerByte);
}

0 comments on commit 1fd306b

Please sign in to comment.
You can’t perform that action at this time.