forked from cerc-io/laconicd-deprecated
rm confusing comments
This commit is contained in:
parent
9bb3dc4216
commit
e173f0a321
@ -300,8 +300,7 @@ func (k Keeper) processRecord(ctx sdk.Context, record *types.ReadableRecord, isR
|
|||||||
}
|
}
|
||||||
k.PutRecord(ctx, recordObj)
|
k.PutRecord(ctx, recordObj)
|
||||||
|
|
||||||
// TODO process type here
|
// TODO look up/validate record type here
|
||||||
// recordType, ok := record.Attributes["type"].(string)
|
|
||||||
|
|
||||||
if err := k.processAttributes(ctx, record.Attributes, record.ID, ""); err != nil {
|
if err := k.processAttributes(ctx, record.Attributes, record.ID, ""); err != nil {
|
||||||
return err
|
return err
|
||||||
|
@ -13,10 +13,6 @@ const (
|
|||||||
AuthorityUnderAuction = "auction"
|
AuthorityUnderAuction = "auction"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TODO if schema records are to be more permissive than allowing a map of fields, this type will
|
|
||||||
// become specific to content records. schema records will either occupy a new message or have new
|
|
||||||
// more general purpose helper types.
|
|
||||||
|
|
||||||
// ReadablePayload represents a signed record payload that can be serialized from/to YAML.
|
// ReadablePayload represents a signed record payload that can be serialized from/to YAML.
|
||||||
type ReadablePayload struct {
|
type ReadablePayload struct {
|
||||||
Record map[string]interface{} `json:"record"`
|
Record map[string]interface{} `json:"record"`
|
||||||
|
Loading…
Reference in New Issue
Block a user