You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(token): deduplicate composite-owner inputs whose token IDs are filtered out
UniquePerInput deduplicates by (token ID, enrollment ID) and keeps every
input with a nil token ID. Metadata.filterTransfer strips TokenID from the
input metadata it clones, so consumers of eID-filtered metadata get nil
token IDs and composite-owner member rows are summed once per member again.
Give Input an Index, its position within the action, and fall back to
(action index, input index, enrollment ID) as the deduplication key when
the token ID is absent. Positions survive filtering because filterTransfer
emits one entry per input. Inputs carrying a token ID keep the previous
key, so existing callers are unaffected.
Signed-off-by: Evan <evanyan@sign.global>
0 commit comments