But the next and only use of another function of this kind is in the pad function:
So LEOStoIP is not used and LEBStoIP is used instead, which is not defined.
This is a normal oversight as the names are very long and similar but also confusing:
If pad is correct and LEBStoIP is the one that is going to be used then we should replace LEOStoIP in the definition with LEBStoIP.
Otherwise we should change pad to use LEOStoIP
I might be wrong but it seems to be an error with some functions defined and later used in the Sinsemilla hash function section of the zcash protocol.
The Sinsemilla hash function specified defines the next 2 functions to be used as part of the algorithm:
However:
S
function, this is ok:pad
function:So
LEOStoIP
is not used andLEBStoIP
is used instead, which is not defined.This is a normal oversight as the names are very long and similar but also confusing:
If pad is correct and
LEBStoIP
is the one that is going to be used then we should replaceLEOStoIP
in the definition withLEBStoIP
. Otherwise we should change pad to useLEOStoIP