Add GenIdentity, an identity function for MappedShuffle.
We use this function in z_sendmany as part of the fix for #1779.
This commit is contained in:
@@ -137,3 +137,8 @@ void seed_insecure_rand(bool fDeterministic)
|
||||
insecure_rand_Rw = tmp;
|
||||
}
|
||||
}
|
||||
|
||||
int GenIdentity(int n)
|
||||
{
|
||||
return n-1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user