@@ -208,7 +208,7 @@ func MakeSTXTokenTransfer(
208
208
209
209
signer := deriveSigner (senderKey )
210
210
211
- tx , err := NewTokenTransferTransaction (recipient , amount .Uint64 (), memo , network .Version , network .ChainID , signer , 0 , 0 , stacks .AnchorModeOnChainOnly , stacks .PostConditionModeDeny )
211
+ tx , err := NewTokenTransferTransaction (recipient , amount .Uint64 (), memo , network .Version , network .ChainID , signer , 0 , 0 , stacks .AnchorModeOnChainOnly , stacks .PostConditionModeAllow )
212
212
if err != nil {
213
213
return nil , & CustomError {Message : "Failed to create transaction" , Err : err }
214
214
}
@@ -245,7 +245,7 @@ func MakeContractDeploy(
245
245
0 ,
246
246
0 ,
247
247
stacks .AnchorModeOnChainOnly ,
248
- stacks .PostConditionModeDeny ,
248
+ stacks .PostConditionModeAllow ,
249
249
)
250
250
if err != nil {
251
251
return nil , & CustomError {Message : "Failed to create transaction" , Err : err }
@@ -276,7 +276,7 @@ func MakeContractCall(
276
276
277
277
signer := deriveSigner (senderKey )
278
278
279
- tx , err := NewContractCallTransaction (contractAddress , contractName , functionName , functionArgs , network .Version , network .ChainID , signer , 0 , 0 , stacks .AnchorModeOnChainOnly , stacks .PostConditionModeDeny )
279
+ tx , err := NewContractCallTransaction (contractAddress , contractName , functionName , functionArgs , network .Version , network .ChainID , signer , 0 , 0 , stacks .AnchorModeOnChainOnly , stacks .PostConditionModeAllow )
280
280
if err != nil {
281
281
return nil , & CustomError {Message : "Failed to create transaction" , Err : err }
282
282
}
0 commit comments