Do not update `is_change` in received_notes with null values.
Fixes #322
This commit is contained in:
parent
7ac08631b9
commit
d77784eba8
|
@ -208,7 +208,7 @@ impl<'a> WalletRead for &'a WalletDB {
|
|||
rcm = :rcm,
|
||||
nf = IFNULL(:memo, nf),
|
||||
memo = IFNULL(:nf, memo),
|
||||
is_change = :is_change
|
||||
is_change = IFNULL(:is_change, is_change)
|
||||
WHERE tx = :tx AND output_index = :output_index",
|
||||
)?,
|
||||
stmt_select_received_note: self.0.prepare(
|
||||
|
|
Loading…
Reference in New Issue