Skip to content

Use bitwise-or instead of addition for combining asset_permissions.#75

Merged
xeroc merged 2 commits into
bitshares:developfrom
jhtitor:minor_things1
Apr 16, 2018
Merged

Use bitwise-or instead of addition for combining asset_permissions.#75
xeroc merged 2 commits into
bitshares:developfrom
jhtitor:minor_things1

Conversation

@jhtitor
Copy link
Copy Markdown
Contributor

@jhtitor jhtitor commented Apr 7, 2018

There really ain't any difference, but it's more correct, since we're dealing with bit-flags.

Bonus commit: some random typos.

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #75 into develop will not change coverage.
The diff coverage is 33.33%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop      #75   +/-   ##
========================================
  Coverage    68.53%   68.53%           
========================================
  Files           51       51           
  Lines         3966     3966           
========================================
  Hits          2718     2718           
  Misses        1248     1248
Impacted Files Coverage Δ
bitsharesbase/asset_permissions.py 63.88% <0%> (ø) ⬆️
bitshares/transactionbuilder.py 66.09% <50%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d251adc...a083d22. Read the comment docs.

@xeroc xeroc merged commit e7b22a0 into bitshares:develop Apr 16, 2018
@jhtitor jhtitor deleted the minor_things1 branch April 23, 2018 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants