feat: add Equal methods for AssetInfo and ChainInfo types

This commit is contained in:
Prad Nukala 2024-08-10 18:19:50 -04:00 committed by Prad Nukala (aider)
parent b67df866d4
commit 8b9fc949e6

15
x/did/types/types.go Normal file
View File

@ -0,0 +1,15 @@
package types
func (a *AssetInfo) Equal(b *AssetInfo) bool {
if a == nil && b == nil {
return true
}
return false
}
func (c *ChainInfo) Equal(b *ChainInfo) bool {
if c == nil && b == nil {
return true
}
return false
}