Switch to Ed25519 for cryptographic binding of joinsplits to transactions.
This commit is contained in:
@@ -14,8 +14,6 @@
|
||||
#include "script/script.h"
|
||||
#include "uint256.h"
|
||||
|
||||
#include "sodium.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
typedef vector<unsigned char> valtype;
|
||||
@@ -1085,7 +1083,8 @@ public:
|
||||
::Serialize(s, txTo.vpour, nType, nVersion);
|
||||
if (txTo.vpour.size() > 0) {
|
||||
::Serialize(s, txTo.joinSplitPubKey, nType, nVersion);
|
||||
std::vector<unsigned char> nullSig = {};
|
||||
|
||||
boost::array<unsigned char, 64> nullSig = {};
|
||||
::Serialize(s, nullSig, nType, nVersion);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user