OSDN Git Service
(root)
/
bytom
/
bytom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
041a743
)
fix
author
wz
<mars@bytom.io>
Wed, 27 Nov 2019 01:07:47 +0000
(09:07 +0800)
committer
wz
<mars@bytom.io>
Wed, 27 Nov 2019 01:07:47 +0000
(09:07 +0800)
api/query.go
patch
|
blob
|
history
diff --git
a/api/query.go
b/api/query.go
index
00328d2
..
7015522
100644
(file)
--- 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)