compile
parent
65efc8400c
commit
30e5a3c398
|
@ -388,7 +388,7 @@ func (d *RocksDB) GetTxAssets(assetGuid uint32, lower uint32, higher uint32, ass
|
|||
txids := []string{}
|
||||
for _, txIndex := range txIndexes {
|
||||
mask := uint32(txIndex.Type)
|
||||
if (assetsBitMask == bchain.AllMask || uint32(assetsBitMask) & mask) == mask {
|
||||
if (assetsBitMask == bchain.AllMask) || ((uint32(assetsBitMask) & mask) == mask) {
|
||||
txids = append(txids, hex.EncodeToString(txIndex.BtxID))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue