mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
A better way to convert between uint160 and uint256 types.
This commit is contained in:
@@ -178,7 +178,7 @@ SHAMapItem::SHAMapItem(const uint256& tag, const std::vector<unsigned char>& dat
|
||||
{ ; }
|
||||
|
||||
SHAMapItem::SHAMapItem(const uint160& tag, const std::vector<unsigned char>& data)
|
||||
: mTag(uint160to256(tag)), mData(data)
|
||||
: mTag(tag.to256()), mData(data)
|
||||
{ ; }
|
||||
|
||||
SHAMapItem::pointer SHAMap::peekFirstItem()
|
||||
|
||||
Reference in New Issue
Block a user