1515package  allegra
1616
1717import  (
18- 	"fmt " 
18+ 	"errors " 
1919
2020	"github.com/blinklabs-io/gouroboros/ledger/common" 
2121	"github.com/blinklabs-io/gouroboros/ledger/shelley" 
@@ -68,7 +68,7 @@ func UtxoValidateFeeTooSmallUtxo(
6868) error  {
6969	tmpPparams , ok  :=  pp .(* AllegraProtocolParameters )
7070	if  ! ok  {
71- 		return  fmt . Errorf ("pparams are not expected type" )
71+ 		return  errors . New ("pparams are not expected type" )
7272	}
7373	return  shelley .UtxoValidateFeeTooSmallUtxo (
7474		tx ,
@@ -113,7 +113,7 @@ func UtxoValidateValueNotConservedUtxo(
113113) error  {
114114	tmpPparams , ok  :=  pp .(* AllegraProtocolParameters )
115115	if  ! ok  {
116- 		return  fmt . Errorf ("pparams are not expected type" )
116+ 		return  errors . New ("pparams are not expected type" )
117117	}
118118	return  shelley .UtxoValidateValueNotConservedUtxo (
119119		tx ,
@@ -131,7 +131,7 @@ func UtxoValidateOutputTooSmallUtxo(
131131) error  {
132132	tmpPparams , ok  :=  pp .(* AllegraProtocolParameters )
133133	if  ! ok  {
134- 		return  fmt . Errorf ("pparams are not expected type" )
134+ 		return  errors . New ("pparams are not expected type" )
135135	}
136136	return  shelley .UtxoValidateOutputTooSmallUtxo (
137137		tx ,
@@ -158,7 +158,7 @@ func UtxoValidateMaxTxSizeUtxo(
158158) error  {
159159	tmpPparams , ok  :=  pp .(* AllegraProtocolParameters )
160160	if  ! ok  {
161- 		return  fmt . Errorf ("pparams are not expected type" )
161+ 		return  errors . New ("pparams are not expected type" )
162162	}
163163	return  shelley .UtxoValidateMaxTxSizeUtxo (
164164		tx ,
0 commit comments