Closed s1na closed 5 years ago
When generating a multiproof, if a branch child didn't contain any of the target keys, two opcodes: HASHER(0) and ADD(idx) would be added, which fails during rebuild of the tree if there was no previous child to add a BRANCH opcode.
HASHER(0)
ADD(idx)
rebuild
BRANCH
When generating a multiproof, if a branch child didn't contain any of the target keys, two opcodes:
HASHER(0)
andADD(idx)
would be added, which fails duringrebuild
of the tree if there was no previous child to add aBRANCH
opcode.