|
|
@ -719,6 +719,8 @@ decode_ringct(const rct::rctSig& rv,
|
|
|
|
rct::key & mask,
|
|
|
|
rct::key & mask,
|
|
|
|
uint64_t & amount)
|
|
|
|
uint64_t & amount)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
try
|
|
|
|
|
|
|
|
{
|
|
|
|
crypto::key_derivation derivation;
|
|
|
|
crypto::key_derivation derivation;
|
|
|
|
|
|
|
|
|
|
|
|
bool r = crypto::generate_key_derivation(pub, sec, derivation);
|
|
|
|
bool r = crypto::generate_key_derivation(pub, sec, derivation);
|
|
|
@ -733,8 +735,6 @@ decode_ringct(const rct::rctSig& rv,
|
|
|
|
|
|
|
|
|
|
|
|
crypto::derivation_to_scalar(derivation, i, scalar1);
|
|
|
|
crypto::derivation_to_scalar(derivation, i, scalar1);
|
|
|
|
|
|
|
|
|
|
|
|
try
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
switch (rv.type)
|
|
|
|
switch (rv.type)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
case rct::RCTTypeSimple:
|
|
|
|
case rct::RCTTypeSimple:
|
|
|
|