X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=api%2Fquery.go;fp=api%2Fquery.go;h=7015522f5a0003f30fa9daede6f0e5181bd10b0c;hb=34e26a1615e75b0995f2b3a6a8832493ab251bce;hp=00328d2ffb695187d3d22fc5297a4a3130031a22;hpb=041a74394dd18dc0abbee21dd6e6e18bbdbd630a;p=bytom%2Fbytom.git diff --git a/api/query.go b/api/query.go index 00328d2f..7015522f 100644 --- a/api/query.go +++ b/api/query.go @@ -145,10 +145,6 @@ func (a *API) listTransactions(ctx context.Context, filter struct { accountID = acc.ID } - if accountID == "" { - return NewErrorResponse(account.ErrAccountIDEmpty) - } - transactions, err := a.wallet.GetTransactions(accountID, filter.StartTxID, filter.Count, filter.Unconfirmed) if err != nil { return NewErrorResponse(err)