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

* added two new config variables: reissuance-asset and validator-address Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
11 lines
320 B
Go
11 lines
320 B
Go
package dao
|
|
|
|
func GetReissuanceCommand(asset_id string, BlockHeight int64) string {
|
|
return "reissueasset " + asset_id + " 998.69"
|
|
}
|
|
|
|
func IsValidReissuanceCommand(reissuance_str string, asset_id string, BlockHeight uint64) bool {
|
|
expected := "reissueasset " + asset_id + " 998.69"
|
|
return reissuance_str == expected
|
|
}
|