Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1004 from zpalmtree/created-delayed-transaction-i…
Browse files Browse the repository at this point in the history
…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 1fd306b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/walletservice/PaymentServiceJsonRpcMessages.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1fd306b

Please sign in to comment.