ringct: use dummy bulletproofs when in fake mode, for speed

This commit is contained in:
moneromooo-monero 2018-10-19 11:15:31 +00:00
parent 1e74586ee9
commit d6937e373b
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
4 changed files with 49 additions and 12 deletions

View file

@ -396,7 +396,7 @@ namespace hw {
CHECK_AND_ASSERT_THROW_MES(false, " device_ledger::set_mode(unsigned int mode): invalid mode: "<<mode);
}
MDEBUG("Switch to mode: " <<mode);
return true;
return device::set_mode(mode);
}