Use the correct empty memo for Sapling outputs

This commit is contained in:
Jack Grigg
2018-09-13 22:04:00 +01:00
parent bcdb4344f0
commit ba63dacbbb
2 changed files with 3 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ public:
uint256 ovk,
libzcash::SaplingPaymentAddress to,
CAmount value,
std::array<unsigned char, ZC_MEMO_SIZE> memo);
std::array<unsigned char, ZC_MEMO_SIZE> memo = {{0xF6}});
// Assumes that the value correctly corresponds to the provided UTXO.
void AddTransparentInput(COutPoint utxo, CScript scriptPubKey, CAmount value);