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

Method LoadToken

src/wallet.cpp:4396–4401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4394}
4395
4396bool CWallet::LoadToken(const CTokenInfo &token) {
4397 uint256 hash = token.GetHash();
4398 mapToken[hash] = token;
4399
4400 return true;
4401}
4402
4403bool CWallet::LoadTokenTx(const CTokenTx &tokenTx) {
4404 uint256 hash = tokenTx.GetHash();

Callers 1

ReadKeyValueFunction · 0.80

Calls 1

GetHashMethod · 0.45

Tested by

no test coverage detected