planetmint-go/x/dao/util.go
Julian Strobl 6472d7693f
[ci] Add nosnakecase to golangci-lint (#161)
Golang uses:

- Camel Case for variable names, e.g. `firstName`
- Camel Case for private function names, e.g. `getFirstName`
- Pascal Case for public function names, e.g. `GetFirstName`

Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-10-20 14:09:07 +02:00

11 lines
323 B
Go

package dao
func GetReissuanceCommand(assetID string, BlockHeight int64) string {
return "reissueasset " + assetID + " 99869000000"
}
func IsValidReissuanceCommand(reissuanceStr string, assetID string, BlockHeight int64) bool {
expected := "reissueasset " + assetID + " 99869000000"
return reissuanceStr == expected
}