OSDN Git Service

trace updater (#2109)
[bytom/bytom.git] / contract / instance.go
index f44ac09..ffaf0bf 100644 (file)
@@ -30,7 +30,7 @@ type Instance struct {
        ScannedHeight uint64
 }
 
-func NewInstance(inUTXOs, outUTXOs []*UTXO) *Instance {
+func newInstance(inUTXOs, outUTXOs []*UTXO) *Instance {
        inst := &Instance{
                TraceID: uuid.New().String(),
                UTXOs:   outUTXOs,