Skip to content

Commit 034d3d7

Browse files
committed
Fix transfer message in decode script
1 parent 50c1e73 commit 034d3d7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
22
AC_PREREQ([2.60])
33
define(_CLIENT_VERSION_MAJOR, 4)
4-
define(_CLIENT_VERSION_MINOR, 1)
4+
define(_CLIENT_VERSION_MINOR, 2)
55
define(_CLIENT_VERSION_REVISION, 0)
66
define(_CLIENT_VERSION_BUILD, 0)
77
define(_CLIENT_VERSION_IS_RELEASE, true)

src/rpc/rawtransaction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1625,7 +1625,7 @@ UniValue decodescript(const JSONRPCRequest& request)
16251625
r.push_back(Pair("asset_name", transfer.strName));
16261626
r.push_back(Pair("amount", ValueFromAmount(transfer.nAmount)));
16271627
if (!transfer.message.empty())
1628-
r.push_back(Pair("message", transfer.message));
1628+
r.push_back(Pair("message", EncodeAssetData(transfer.message)));
16291629
if (transfer.nExpireTime)
16301630
r.push_back(Pair("expire_time", transfer.nExpireTime));
16311631

src/version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
// Update these four values on every release cycle
1414
// These values should match the values in configure.ac
1515
// Used for checking the Ravencoin releases on github
16-
static const std::string SOFTWARE_VERSION = "v4.1.0";
16+
static const std::string SOFTWARE_VERSION = "v4.2.0";
1717
static const int MAIN_SOFTWARE_VERSION = 4;
18-
static const int SECOND_SOFTWARE_VERSION = 1;
18+
static const int SECOND_SOFTWARE_VERSION = 2;
1919
static const int THIRD_SOFTWARE_VERSION = 0;
2020

21-
static const int PROTOCOL_VERSION = 70027;
21+
static const int PROTOCOL_VERSION = 70028;
2222

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

0 commit comments

Comments
 (0)