Skip to content

Commit

Permalink
Cleaning up code.
Browse files Browse the repository at this point in the history
  • Loading branch information
deepanshutr committed Jul 25, 2022
1 parent ee3a57c commit 88aa1f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ When proposing an architecture decision for the AssetMantle modules, please star
an [issue](https://github.com/AssetMantle/modules/issues/new/choose) or
a [discussion](https://github.com/AssetMantle/modules/discussions/new) with a summary of the proposal. Once the proposal
has been discussed and there is rough alignment on a high-level approach to the design,
the [ADR creation process](./docs/architecture/PROCESS.md) can begin. We
are following this process to ensure all involved parties are in agreement before any party begins coding the proposed
the [ADR creation process](./docs/architecture/PROCESS.md) can begin. We
implementation. If you would like to see examples of how these are written, please refer to the
current ADR.

Expand Down
8 changes: 4 additions & 4 deletions modules/assets/internal/mappable/asset.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/AssetMantle/modules/schema/ids"
"github.com/AssetMantle/modules/schema/lists"
"github.com/AssetMantle/modules/schema/mappables"
properties2 "github.com/AssetMantle/modules/schema/properties"
"github.com/AssetMantle/modules/schema/properties"
"github.com/AssetMantle/modules/schema/properties/constants"
"github.com/AssetMantle/modules/schema/qualified/base"
codecUtilities "github.com/AssetMantle/modules/utilities/codec"
Expand All @@ -23,21 +23,21 @@ type asset struct {

var _ mappables.Asset = (*asset)(nil)

func (asset asset) GetBurn() properties2.Property {
func (asset asset) GetBurn() properties.Property {
if burn := asset.GetProperty(constants.BurnProperty); burn != nil {
return burn
}

return constants.Burn
}
func (asset asset) GetLock() properties2.Property {
func (asset asset) GetLock() properties.Property {
if lock := asset.GetProperty(constants.LockProperty); lock != nil {
return lock
}

return constants.Lock
}
func (asset asset) GetSupply() properties2.Property {
func (asset asset) GetSupply() properties.Property {
if supply := asset.GetProperty(constants.SupplyProperty); supply != nil {
return supply
}
Expand Down

0 comments on commit 88aa1f0

Please sign in to comment.