Add public field 'memo' to JSOutput to enable creation of notes with custom memos.
This commit is contained in:
@@ -35,6 +35,7 @@ class JSOutput {
|
||||
public:
|
||||
PaymentAddress addr;
|
||||
uint64_t value;
|
||||
boost::array<unsigned char, ZC_MEMO_SIZE> memo = {{0xF6}}; // 0xF6 is invalid UTF8 as per spec, rest of array is 0x00
|
||||
|
||||
JSOutput();
|
||||
JSOutput(PaymentAddress addr, uint64_t value) : addr(addr), value(value) { }
|
||||
|
||||
Reference in New Issue
Block a user