MCPcopy Create free account
hub / github.com/LUX-Core/lux / LoadTokenTx

Method LoadTokenTx

src/wallet.cpp:4403–4408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4401}
4402
4403bool CWallet::LoadTokenTx(const CTokenTx &tokenTx) {
4404 uint256 hash = tokenTx.GetHash();
4405 mapTokenTx[hash] = tokenTx;
4406
4407 return true;
4408}
4409
4410bool CWallet::AddTokenEntry(const CTokenInfo &token, bool fFlushOnClose) {
4411 LOCK(cs_wallet);

Callers 1

ReadKeyValueFunction · 0.80

Calls 1

GetHashMethod · 0.45

Tested by

no test coverage detected