Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix callscript iteration #260

Closed
sohkai opened this issue Mar 14, 2019 · 0 comments · Fixed by #283
Closed

Fix callscript iteration #260

sohkai opened this issue Mar 14, 2019 · 0 comments · Fixed by #283
Labels
bug Something isn't working

Comments

@sohkai
Copy link
Contributor

sohkai commented Mar 14, 2019

Currently it thinks each item in the callscript starts with the spec id, but this is actually only added once.

See (Updated with pinned version)

while (script.startsWith(CALLSCRIPT_ID)) {
const segment = decodePathSegment(script)
// Set script
script = segment.data
// Push segment
path.push(segment)
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant