Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Issue with the returned data from harness node #19

Open
muse254 opened this issue Aug 4, 2024 · 0 comments
Open

Issue with the returned data from harness node #19

muse254 opened this issue Aug 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@muse254
Copy link
Owner

muse254 commented Aug 4, 2024

Returned data from harness-node adds padding? Right now we have a fix that truncates the first two elements of the payload.

// truncate first two bytes; fixme: insidious checkout reason
let resp = &response.body[2..];
::candid::Decode!(&resp, #type_path)
.expect("the response should implement CandidType; qed")

@muse254 muse254 added the bug Something isn't working label Aug 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant