github.com/MetalBlockchain/metalgo@v1.11.9/vms/platformvm/signer/empty.go (about) 1 // Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved. 2 // See the file LICENSE for licensing terms. 3 4 package signer 5 6 import "github.com/MetalBlockchain/metalgo/utils/crypto/bls" 7 8 var _ Signer = (*Empty)(nil) 9 10 type Empty struct{} 11 12 func (*Empty) Verify() error { 13 return nil 14 } 15 16 func (*Empty) Key() *bls.PublicKey { 17 return nil 18 }