GPU bug fix
This commit is contained in:
parent
c6f17da93f
commit
f62a3f3031
|
@ -3,6 +3,7 @@ allow_backup = true
|
||||||
allow_send = true
|
allow_send = true
|
||||||
|
|
||||||
yec = { db_path = "./yec.db", lwd_url = "https://lite.ycash.xyz:9067" }
|
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" }
|
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://zuul.free2z.cash:9067" }
|
||||||
|
# zec = { db_path = "./zec.db", lwd_url = "https://lwdv3.zecwallet.co:443" }
|
||||||
|
|
|
@ -123,7 +123,7 @@ fn collect_decrypted_notes(
|
||||||
let domain = SaplingDomain::for_height(*network, BlockHeight::from_u32(b.height as u32));
|
let domain = SaplingDomain::for_height(*network, BlockHeight::from_u32(b.height as u32));
|
||||||
for (tx_index, tx) in b.vtx.iter().enumerate() {
|
for (tx_index, tx) in b.vtx.iter().enumerate() {
|
||||||
for (output_index, co) in tx.outputs.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
|
// 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 plaintext[0] <= 2 && plaintext[18] < 0x08 && plaintext[19] == 0 {
|
||||||
if let Some((note, pa)) =
|
if let Some((note, pa)) =
|
||||||
|
|
Loading…
Reference in New Issue