openbazaar-go
openbazaar-go copied to clipboard
Wallet/Transactions Does Not Return Transactions
When getting the balance of my ZEC wallet with wallet/transactions with an offsetID, the API is returning a count of 2, but no transactions at all.
One transaction was shown in the list of transactions with what appeared to be an id of 07e629653250f4603f3ba74a6b1e44d3840d8917bfc97a73d041df0fe8e3926b (it was truncated in the UI).
http://localhost:4002/wallet/transactions/ZEC?limit=25&offsetId=07e629653250f4603f3ba74a6b1e44d3840d8917bfc97a73d041df0fe8e3926b
{
"count": 2
}
Making the call without an offset ID returned the correct data.
{
"count": 2,
"transactions": [
{
"address": "",
"canBumpFee": true,
"confirmations": 18,
"errorMessage": "",
"height": 683430,
"memo": "Release 2.3.6 Test Listing",
"orderId": "QmaUcTi2gRg4WQxahYyvZaSuZGGMPWMtApbomEm9f7AJsN",
"status": "PENDING",
"thumbnail": "QmfWGiDsceTTZaKqZxR2yNST4AxivajfBb1kTYbjNh5kLm",
"timestamp": "2020-01-06T17:44:35-05:00",
"txid": "d3172a1bb692878858d549741b49e38c3fdc2eb397d4c241aa851cdf91cf64ed",
"value": 305550
},
{
"address": "",
"canBumpFee": true,
"confirmations": 24059,
"errorMessage": "",
"height": 659389,
"memo": "Release 2.3.6 Test Listing",
"orderId": "QmanGr1HLF6DQcexpuWJWYkTSygXtv2SRqu9HWFocTk3m2",
"status": "CONFIRMED",
"thumbnail": "QmfWGiDsceTTZaKqZxR2yNST4AxivajfBb1kTYbjNh5kLm",
"timestamp": "2019-12-16T18:17:31-05:00",
"txid": "07e629653250f4603f3ba74a6b1e44d3840d8917bfc97a73d041df0fe8e3926b",
"value": 33463
}
]
}
This is what it looks like with no transactions. The balance doesn't match the transactions shown:
This is what it looked like when the correct data was returned: