mirror of https://github.com/poanetwork/gecko.git
20 lines
354 B
Go
20 lines
354 B
Go
|
// (c) 2019-2020, Ava Labs, Inc. All rights reserved.
|
||
|
// See the file LICENSE for licensing terms.
|
||
|
|
||
|
package secp256k1fx
|
||
|
|
||
|
// MintOutput ...
|
||
|
type MintOutput struct {
|
||
|
OutputOwners `serialize:"true"`
|
||
|
}
|
||
|
|
||
|
// Verify ...
|
||
|
func (out *MintOutput) Verify() error {
|
||
|
switch {
|
||
|
case out == nil:
|
||
|
return errNilOutput
|
||
|
default:
|
||
|
return out.OutputOwners.Verify()
|
||
|
}
|
||
|
}
|