SiaFoundation / walletd

A new Sia wallet
https://sia.tech/software/walletd
MIT License
15 stars 6 forks source link

Transaction list exception with file contracts #141

Closed n8maninger closed 2 weeks ago

n8maninger commented 2 weeks ago
TypeError: undefined is not an object (evaluating 'A.data.fileContract.id')
(anonymous function) — _app-a34760eb44058cfe.js:22:124356
(anonymous function) — _app-a34760eb44058cfe.js:22:124360
map
(anonymous function) — _app-a34760eb44058cfe.js:22:124197
useMemo — framework-7e58418f45871195.js:9:67214
(anonymous function) — _app-a34760eb44058cfe.js:22:123991
N — _app-a34760eb44058cfe.js:22:125600
ak — framework-7e58418f45871195.js:9:60904
i — framework-7e58418f45871195.js:9:119422
oD — framework-7e58418f45871195.js:9:99074
(anonymous function) — framework-7e58418f45871195.js:9:98942
oO — framework-7e58418f45871195.js:9:98947
oE — framework-7e58418f45871195.js:9:95701
ox — framework-7e58418f45871195.js:9:94256
x — framework-7e58418f45871195.js:33:1366
T — framework-7e58418f45871195.js:33:1896

I think this needs to be parent.id not fileContract.id. This is on Pana

alexfreska commented 2 weeks ago

@n8maninger I'm getting mixed up, were these examples accurate: https://github.com/SiaFoundation/walletd/pull/135 They also use raw for transaction, but I think the data is showing transaction. I'll take a closer look.

n8maninger commented 2 weeks ago

Looks like they are not. #137 changed it and I missed tagging you.