Skip to content

Conversation

@evscott
Copy link

@evscott evscott commented Jul 24, 2018

Fixed an issue with default count always being used when calling listassetallocationtransactions.

When using the syscoin-cli command listassetallocationtransactions, the system should return the number of transactions up to matching the first argument passed into the command, with the default being 10 if no argument is passed.

Formating e.g.:

listassetallocationtransactions

This should return up to 10 transactions

screen shot 2018-07-24 at 2 19 23 pm

list assetallocationtransactions

This should return up to 2 transactions

screen shot 2018-07-24 at 2 18 46 pm

Fixed an issue with default count always being used when calling listassetallocationtransactions.
@evscott evscott requested a review from willyko July 24, 2018 18:00
@evscott evscott changed the title [fix][sys-252] listassetallocationtransactions [SYS-252] listassetallocationtransactions Jul 24, 2018
@radubcf radubcf requested review from radubcf and removed request for radubcf July 31, 2018 20:57
sidhujag added a commit that referenced this pull request Jul 31, 2018
properly limit counts based on #254
@sidhujag
Copy link
Member

sidhujag commented Jul 31, 2018

NACK can you take a look at my commit, this wouldn't have fixed the problem for the case where you have more than one tx per block. You need the internal and external loop break. Please retest that it works as expected with my fix above in 780cf7a

@evscott evscott merged commit 85f2141 into dev-3.x-prep-3.0.7 Aug 7, 2018
@evscott evscott deleted the sys-252-laatrpcfix branch August 7, 2018 16:36
@sidhujag
Copy link
Member

sidhujag commented Aug 7, 2018

Why did you commit this @evscott there was problems with this which ive already fixed

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