fix: decode_ringct switch statement corrected

This commit is contained in:
moneroexamples 2016-09-08 11:30:56 +08:00
parent 2b121ceb03
commit 825969b730

View file

@ -650,11 +650,13 @@ namespace xmreg
rct::sk2rct(scalar1), rct::sk2rct(scalar1),
i, i,
mask); mask);
break;
case rct::RCTTypeFull: case rct::RCTTypeFull:
amount = rct::decodeRct(rv, amount = rct::decodeRct(rv,
rct::sk2rct(scalar1), rct::sk2rct(scalar1),
i, i,
mask); mask);
break;
default: default:
cerr << "Unsupported rct type: " << rv.type << endl; cerr << "Unsupported rct type: " << rv.type << endl;
return false; return false;