Skip to content

Commit

Permalink
Fix transfer message in decode script
Browse files Browse the repository at this point in the history
  • Loading branch information
blondfrogs committed Jun 30, 2020
1 parent 50c1e73 commit 034d3d7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 4)
define(_CLIENT_VERSION_MINOR, 1)
define(_CLIENT_VERSION_MINOR, 2)
define(_CLIENT_VERSION_REVISION, 0)
define(_CLIENT_VERSION_BUILD, 0)
define(_CLIENT_VERSION_IS_RELEASE, true)
Expand Down
2 changes: 1 addition & 1 deletion src/rpc/rawtransaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1625,7 +1625,7 @@ UniValue decodescript(const JSONRPCRequest& request)
r.push_back(Pair("asset_name", transfer.strName));
r.push_back(Pair("amount", ValueFromAmount(transfer.nAmount)));
if (!transfer.message.empty())
r.push_back(Pair("message", transfer.message));
r.push_back(Pair("message", EncodeAssetData(transfer.message)));
if (transfer.nExpireTime)
r.push_back(Pair("expire_time", transfer.nExpireTime));

Expand Down
6 changes: 3 additions & 3 deletions src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
// Update these four values on every release cycle
// These values should match the values in configure.ac
// Used for checking the Ravencoin releases on github
static const std::string SOFTWARE_VERSION = "v4.1.0";
static const std::string SOFTWARE_VERSION = "v4.2.0";
static const int MAIN_SOFTWARE_VERSION = 4;
static const int SECOND_SOFTWARE_VERSION = 1;
static const int SECOND_SOFTWARE_VERSION = 2;
static const int THIRD_SOFTWARE_VERSION = 0;

static const int PROTOCOL_VERSION = 70027;
static const int PROTOCOL_VERSION = 70028;

//! initial proto version, to be increased after version/verack negotiation
static const int INIT_PROTO_VERSION = 209;
Expand Down

0 comments on commit 034d3d7

Please sign in to comment.