fix the broken test

This commit is contained in:
fanghr 2022-05-07 18:53:17 +08:00
parent 30b66a29ff
commit ab9f472287
No known key found for this signature in database
GPG key ID: 35CD9A71CD5D5870
2 changed files with 2 additions and 2 deletions

View file

@ -111,7 +111,7 @@ validContext =
governorOutput :: TxOut
governorOutput =
TxOut
{ txOutAddress = effectValidatorAddress
{ txOutAddress = govValidatorAddress
, txOutValue = withMinAda gst
, txOutDatumHash = Just $ toDatumHash governorOutputDatum
}

View file

@ -147,7 +147,7 @@ mutateGovernorValidator gov = makeEffect (authorityTokenSymbolFromGovernor gov)
let selfAddress =
pfield @"address"
#$ mustBePJust # "Self governorInput not found"
#$ mustBePJust # "Self input not found"
#$ findTxOutByTxOutRef # txOutRef # txInfo.inputs
passert "No output to the effect validator" $