fix: decode_ringct switch statement corrected

master
moneroexamples 8 years ago
parent 2b121ceb03
commit 825969b730

@ -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;

Loading…
Cancel
Save