diff --git a/Rocket.toml b/Rocket.toml index f575ea6..ff4b2d5 100644 --- a/Rocket.toml +++ b/Rocket.toml @@ -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" } diff --git a/src/gpu.rs b/src/gpu.rs index 30b1cba..23c39b8 100644 --- a/src/gpu.rs +++ b/src/gpu.rs @@ -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)) =