Skip to content

Commit

Permalink
Fix rpc parameter not converted in defi-cli (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShengguangXiao authored and bvbfan committed Apr 20, 2021
1 parent 81715e0 commit bdba64c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/rpc/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,14 +250,12 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "sendtokenstoaddress", 1, "to" },
{ "getanchorteams", 0, "blockHeight" },
{ "getactivemasternodecount", 0, "blockCount" },

{ "spv_claimhtlc", 3, "feerate" },

{ "spv_refundhtlc", 2, "feerate" },

{ "appointoracle", 2, "weightage" },
{ "updateoracle", 3, "weightage" },
{ "setoracledata", 1, "timestamp" },

{ "spv_claimhtlc", 3, "feerate" },
{ "spv_refundhtlc", 2, "feerate" },
};
// clang-format on

Expand Down

0 comments on commit bdba64c

Please sign in to comment.