GPU bug fix

This commit is contained in:
Hanh 2022-09-27 20:35:00 +08:00
parent c6f17da93f
commit f62a3f3031
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@ allow_backup = true
allow_send = true
yec = { db_path = "./yec.db", lwd_url = "https://lite.ycash.xyz:9067" }
zec = { db_path = "./zec.db", lwd_url = "https://lwdv3.zecwallet.co:443" }
arrr = { db_path = "./arrr.db", lwd_url = "https://lightd1.pirate.black:9067" }
zec = { db_path = "./zec.db", lwd_url = "https://lwd.hanh00.fun:9067" }
# zec = { db_path = "./zec.db", lwd_url = "https://zuul.free2z.cash:9067" }
# zec = { db_path = "./zec.db", lwd_url = "https://lwdv3.zecwallet.co:443" }

View File

@ -123,7 +123,7 @@ fn collect_decrypted_notes(
let domain = SaplingDomain::for_height(*network, BlockHeight::from_u32(b.height as u32));
for (tx_index, tx) in b.vtx.iter().enumerate() {
for (output_index, co) in tx.outputs.iter().enumerate() {
let plaintext = &output_buffer[i * buffer_stride + 32..i * buffer_stride + 84];
let plaintext = &output_buffer[i * buffer_stride + 32..i * buffer_stride + 92];
// version and amount must be in range - 21 million ZEC is less than 0x0008 0000 0000 0000
if plaintext[0] <= 2 && plaintext[18] < 0x08 && plaintext[19] == 0 {
if let Some((note, pa)) =