mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-23 04:52:01 +00:00
fixup! feat(core): add Zcash shielded transactions
This commit is contained in:
parent
0b0eee0ab4
commit
98c0f06647
@ -50,7 +50,7 @@ class Sinsemilla:
|
|||||||
S = group_hash("z.cash:SinsemillaS", i2leosp(32, index))
|
S = group_hash("z.cash:SinsemillaS", i2leosp(32, index))
|
||||||
acc = self.acc
|
acc = self.acc
|
||||||
self.acc = iadd(iadd(acc, S), acc)
|
self.acc = iadd(iadd(acc, S), acc)
|
||||||
self.buffer = []
|
self.buffer.clear()
|
||||||
|
|
||||||
def finalize(self):
|
def finalize(self):
|
||||||
if len(self.buffer) > 0:
|
if len(self.buffer) > 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user