mirror of
https://github.com/luxfi/utxo.git
synced 2026-10-30 15:13:57 +00:00
20 lines
439 B
Go
20 lines
439 B
Go
// Copyright (C) 2019-2025, Lux Industries, Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package mldsafx
|
|
|
|
// UnsignedTx that this Fx is supporting
|
|
type UnsignedTx interface {
|
|
Bytes() []byte
|
|
}
|
|
|
|
var _ UnsignedTx = (*TestTx)(nil)
|
|
|
|
// TestTx is a minimal implementation of a Tx
|
|
type TestTx struct{ UnsignedBytes []byte }
|
|
|
|
// Bytes returns UnsignedBytes
|
|
func (tx *TestTx) Bytes() []byte {
|
|
return tx.UnsignedBytes
|
|
}
|