Skip to content

Commit

Permalink
fixed not getting authorizer types if we have sent in a script and no…
Browse files Browse the repository at this point in the history
…t a transaction
  • Loading branch information
bjartek committed Mar 18, 2024
1 parent ead0871 commit 01742c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ func (o *OverflowState) CreateOverflowTransaction(blockId string, transactionRes
auth := fmt.Sprintf("0x%s", authorizer.Hex())
authorizers = append(authorizers, auth)
standardStakeholders[auth] = []string{"authorizer"}
authorizerTypes[auth] = argInfo.Authorizers[i]
if len(argInfo.Authorizers) > i {
authorizerTypes[auth] = argInfo.Authorizers[i]
}
}

payerRoles, ok := standardStakeholders[fmt.Sprintf("0x%s", transaction.Payer.Hex())]
Expand Down

0 comments on commit 01742c7

Please sign in to comment.