AssetMantle / AssetMantle/modules

GenerateHashID method for decData panics for nil

Open
#164 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
21
Forks
12
PR merge metrics
No merged PRs in 30d

Description

while comparing it with decData.ZeroValue() it panics
because value is passed through empty dec struct, and being compared with Dec from ZeroValue method of decData that creates Dec through NewDec() which uses in64
https://github.com/AssetMantle/modules/blob/02a1abc55deb9bbf11535bbbe1fc87c8933af29d/schema/data/base/decData_test.go#L138

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.