CLI sendrawtransaction response result error: tx-overwinter-not-active

Hi, anyone knows about this error in cli sendrawtransaction, Regtest network:

error code: -26
error message:
16: tx-overwinter-not-active

hex transaction:

0400008085202f89021913f08957dfada43206a4cfd71259805ef9b021b008e0d54cd3b189ab0056e0010000006b483045022100ae822f938695a4387ed34c06280b0a821b4a071eb70cfcbe9520000eb99d50e802202011b504116b9bf67e1db3b5502e47a971224d2d2178e2220bfc47b86f8e23d2012103b1c939d012fa1ac9cd5b4bef04bd46895a2f394cfee3dc530eb9ce659b526c00ffffffffc80454b57376537d5c64158f20bb229eb58d04a30c697fae247c083ab008ef6a010000006a47304402203c0d90e08aeb74557cbee2b427943e7f10a45a8978e1e864bcf5ef558e764b93022037f2a04ad7bfab2e935b916e34d5b1365f3fcc5ebda2dfc333b13d6f9b4d32d8012103d707ae7c981dc4eb4fbd330c07d6af803a26fce8d846a670a2453923b88b9994ffffffff02002f6859000000001976a9140e50f6cf6199feb4daa534cd77c1d06a76aed98288ac3745d817000000001976a9147d48d6aeec03d7f1c6bcae048e011f15d96759fd88ac00000000000000000000000000000000000000

-regtest is intended for black-box integration tests. As such, it defaults to having no network upgrades activated, so that the test runner can decide what configuration to use. The transaction you tried to send is a v4 transaction, which is only valid on a network with at lesat the Sapling NU activated. You should use the -nuparams flag to configure your regtest setup to have at least Sapling active; if you use -nuparams=c2d6d0b4:1 then every upgrade including NU5 will be active, which is probably what you want.

1 Like