Merge pull request #442 from KeefeL/diff_accouts
ignore empty tx in GetDiffAccountsWithScope
This commit is contained in:
commit
59d3b537a5
@ -1185,9 +1185,12 @@ func (s *PublicBlockChainAPI) GetDiffAccountsWithScope(ctx context.Context, bloc
|
|||||||
delete(diffTx.Accounts, account)
|
delete(diffTx.Accounts, account)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if len(diffTx.Accounts) != 0 {
|
||||||
result.Transactions = append(result.Transactions, diffTx)
|
result.Transactions = append(result.Transactions, diffTx)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return result, nil
|
return result, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user