MCPcopy Create free account
hub / github.com/ElementsProject/elements / setValue

Method setValue

src/qt/bitcoinamountfield.cpp:387–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385}
386
387void BitcoinAmountField::setValue(const CAmount& value)
388{
389 amount->setValue(Params().GetConsensus().pegged_asset, value);
390 setDisplayUnit(amount->currentPeggedUnit());
391}
392
393void BitcoinAmountField::SetAllowEmpty(bool allow)
394{

Callers 1

setFullValueMethod · 0.45

Calls 2

setDisplayUnitFunction · 0.85
ParamsClass · 0.50

Tested by

no test coverage detected