mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-05-31 19:26:38 +00:00

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>
11 lines
323 B
Go
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
|
|
}
|