Skip to content

Commit

Permalink
core: adjust types of NVB, Conflicts and NotaryAssisted attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnaShaleva committed Jun 1, 2022
1 parent e88ccea commit d689b20
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions pkg/core/transaction/attrtype.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ const (
// List of valid attribute types.
const (
HighPriority AttrType = 1
OracleResponseT AttrType = 0x11 // OracleResponse
NotValidBeforeT AttrType = ReservedLowerBound // NotValidBefore
ConflictsT AttrType = ReservedLowerBound + 1 // Conflicts
NotaryAssistedT AttrType = ReservedLowerBound + 2 // NotaryAssisted
OracleResponseT AttrType = 0x11 // OracleResponse
NotValidBeforeT AttrType = 0x20 // NotValidBefore
ConflictsT AttrType = 0x21 // Conflicts
NotaryAssistedT AttrType = 0x22 // NotaryAssisted
)

func (a AttrType) allowMultiple() bool {
Expand Down
10 changes: 5 additions & 5 deletions pkg/core/transaction/attrtype_string.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d689b20

Please sign in to comment.