func terminator_for_tx(tx *static.Tx) *terminator { return tx.RegisterTerminator("router", &terminator{}).(*terminator) }