sapling z_sendmany default memo 0xf6 + zeros

This commit is contained in:
Larry Ruane 2018-10-15 17:25:03 -06:00
parent d2019a4ccd
commit 19621a7993
1 changed files with 2 additions and 1 deletions

View File

@ -1333,7 +1333,8 @@ void AsyncRPCOperation_sendmany::add_taddr_change_output_to_tx(CAmount amount) {
}
std::array<unsigned char, ZC_MEMO_SIZE> AsyncRPCOperation_sendmany::get_memo_from_hex_string(std::string s) {
std::array<unsigned char, ZC_MEMO_SIZE> memo = {{0x00}};
// initialize to default memo (no_memo), see section 5.5 of the protocol spec
std::array<unsigned char, ZC_MEMO_SIZE> memo = {{0xF6}};
std::vector<unsigned char> rawMemo = ParseHex(s.c_str());