This repository has been archived by the owner on Aug 2, 2021. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
swap, uint256: unify variable types, pt. 1 #2063
swap, uint256: unify variable types, pt. 1 #2063
Changes from 66 commits
ce6d7e0
48e842f
d10c32a
8e933b0
3be2ed8
44aa724
5802fde
93722f9
c8a1ee4
5ee8279
068881c
c4c2a99
60b9b99
388ed44
566230f
2682e46
4dd0330
e92d085
587b345
87a52f1
031b3c4
2732ac8
d38cede
933606d
4d2c0c2
7b2d982
964d564
f5b90bb
70cb0bb
efc4a25
a9dc476
f650487
b36c9d5
2bf0b2d
a793a34
23e2150
b5b19c2
960341a
bab6443
f6448b8
c76d7cf
052fc3b
098cb0d
ee024f1
98ff83f
74f7fac
8945021
043ccaa
af7619d
ed06ee6
f57314a
7678775
03604ed
dacd377
2b2de30
3cf2163
f14b322
f7380f2
0014fe1
6a469d8
2025565
d48d980
b45c506
810f75f
5c2ddde
74043d7
3a400df
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd probably print
%s, cheque.CumulativePayout.String()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we shouldn't need to call
String()
, right?Uint256
implements theStringer
interface, ergo it knows how to represent itself as a string without calling the function explicitly, no?now: do we use
%v
or%s
? as far as i know there is no difference (in practice) as long as the interface is implemented, so i have no preference here.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it is a String I'd use
%s
, which is what I actually meant in the first place