diff --git a/agora-sample/Sample/Effect/GovernorMutation.hs b/agora-sample/Sample/Effect/GovernorMutation.hs index be6e167..e088abf 100644 --- a/agora-sample/Sample/Effect/GovernorMutation.hs +++ b/agora-sample/Sample/Effect/GovernorMutation.hs @@ -111,7 +111,7 @@ validContext = governorOutput :: TxOut governorOutput = TxOut - { txOutAddress = effectValidatorAddress + { txOutAddress = govValidatorAddress , txOutValue = withMinAda gst , txOutDatumHash = Just $ toDatumHash governorOutputDatum } diff --git a/agora/Agora/Effect/GovernorMutation.hs b/agora/Agora/Effect/GovernorMutation.hs index 628f130..11c7629 100644 --- a/agora/Agora/Effect/GovernorMutation.hs +++ b/agora/Agora/Effect/GovernorMutation.hs @@ -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" $